fuck cnbeta-antiabp

no ads!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

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