拒絕爛新聞

再見!爛新聞

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         拒絕爛新聞
// @version      1.3
// @description  再見!爛新聞
// @author       威爾斯
// @match        *://tw.news.yahoo.com/*.html
// @match        *://*.setn.com/*
// @match        *://*.udn.com/news/*
// @match        *://*.ettoday.net/*
// @match        *://*.appledaily.com/*
// @match        *://*.ctitv.com.tw/*
// @match        *://*.chinatimes.com/*
// @match        *://news.pchome.com.tw/*
// @match        *://today.line.me/*
// @match        *://*moneynet.com.tw/*
// @match        *://*cna.com.tw/*
// @match        *://*ltn.com.tw/*
// @match        *://*times.hinet.net/news/*
// @match        *://*n.yam.com/Article/*
// @grant        none
// @namespace https://example.com
// ==/UserScript==

//蕭琪琳:創造許多假新聞,真廣告
//永豐建經:假新聞、真廣告
//唐鳳:IQ180(?), apple consultant(?), Controversial(true)

(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();
    });
})();