拒絕爛新聞

再見!爛新聞

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