fuck cnbeta-antiabp

no ads!

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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