您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Remove articles by certain bad, click-bait authors from Ars Technica
// ==UserScript== // @name Ars Technica Author Remover // @namespace author remover // @version 1.3 // @description Remove articles by certain bad, click-bait authors from Ars Technica // @author - // @match https://arstechnica.com/* // @match https://www.arstechnica.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to remove articles by Beth Mole function removeBethMoleArticles() { // Select all article elements const articles = document.querySelectorAll('article'); articles.forEach(article => { // Check if the author name "Beth Mole" exist within the article if (article.textContent.includes('Beth Mole')) { article.remove(); } }); } // Run the function to remove articles removeBethMoleArticles(); // Optional: Observe for dynamically loaded content and remove matching articles const observer = new MutationObserver(removeBethMoleArticles); observer.observe(document.body, { childList: true, subtree: true }); })();