fuck cnbeta-antiabp

no ads!

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         fuck cnbeta-antiabp
// @namespace    cnbeta-antiabp
// @version      2.2
// @description  no ads!
// @author       Everyone
// @match        http://www.cnbeta.com/articles/*
// @match        http://www.cnbeta.com/live/*
// @grant        none
// @require      http://libs.baidu.com/jquery/1.9.1/jquery.min.js
// ==/UserScript==

/*
可在 Adblock 过滤规则列表内加入如下行

www.cnbeta.com##DIV[style="display:block !important;position:fixed;top:0;margin-bottom:10px;width:100%;background:#c44;color:#fff;font-size:15px;z-index:99999"]

*/
(function() {
    'use strict';
    var ss=0;
    function fuckAntiABP()
    {
        var obj=$("body").children("div:has(div)");
        //var rogue = document.querySelectorAll("[id*='mask0']");
        if (obj.length>0)
        {
            obj.remove();
            clearInterval(ftimer);
        }
    }
    var ftimer = setInterval(function(){fuckAntiABP();},300);
})();