您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
再見!爛新聞
当前为
// ==UserScript== // @name 拒絕爛新聞 // @namespace https://example.com // @version 1.1 // @description 再見!爛新聞 // @author 威爾斯 // @match *://tw.news.yahoo.com/* // @match *://*.setn.com/* // @match *://*.udn.com/news/* // @match *://*.ettoday.net/* // @match *://*.appledaily.com/* // @match *://*.chinatimes.com/* // @match *://news.pchome.com.tw/* // @match *://today.line.me/* // @grant none // ==/UserScript== (function() { 'use strict'; var keyWord=['三立','性侵','性騷擾','小模','上床','淫辱','嘿咻','姓男','姓女','性行為','禽獸','人妻','激戰']; var killWord=['化名','非當事人','示意圖']; var count=0; var html=document.documentElement.innerText.trim(); killWord.forEach(function(e) { if(html.indexOf(e)!==-1)close(); }); keyWord.forEach(function(e) { if(html.indexOf(e)!==-1)count++; if(count>=3)close(); }); })();