快眼看书去广告

移除快眼看书广告

// ==UserScript==
// @name         快眼看书去广告
// @namespace    http://www.wandhi.com/
// @version      1.0.0
// @description  移除快眼看书广告
// @author       Wandhi
// @icon         https://www.wandhi.com/favicon.ico
// @include      https://www.kuaiyankanshu.net/*/read_*.html
// ==/UserScript==

(function() {
    function closeAd(){
        document.querySelector("#note").previousElementSibling&&document.querySelector("#note").previousElementSibling.remove();
        document.querySelector("#note")&&document.querySelector("#note").remove();
    }
var adSwitch= setInterval(function(){
    closeAd();
},1000);
})();