您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove adds articles from Geenstijl.nl
当前为
// ==UserScript== // @name Geenstijl add remover // @namespace https://www.geenstijl.nl/ // @version 0.1 // @description Remove adds articles from Geenstijl.nl // @author Rick van der Staaij // @require http://code.jquery.com/jquery-latest.min.js // @include https://www.geenstijl.nl/* // @grant none // ==/UserScript== (function() { 'use strict'; function removeAddArticles() { var cleanCounter = 0; $('article').each(function() { if ($(this).find(".compost-warn:contains('- Ingezonden mededeling -')").length > 0) { cleanCounter++; $(this).remove(); } }); if (cleanCounter > 0) { console.log('[Geenstijl add killer] Removed ' + cleanCounter + ' spam cards.'); } } console.log('[Geenstijl add killer] Killing spam...'); removeAddArticles(); })();