Assassinate Ad Block Blockers

You know those annoying content blockers that demand you remove your AdBlock so you can read the content? This script removes them by force. Please note, this is not automatically universal like AdBlock Plus. It operates on a per-site basis that the author must add.

< 脚本 Assassinate Ad Block Blockers 的反馈

评价:好评 - 脚本运行良好

§
发布于:2019-08-03

Addition of The Independent

I made a couple of additions to mop up the garbage on the Independent website, could you perhaps include it in your next release? Many thanks!

  • Matched independent: // @match *://www.independent.co.uk/*

  • Added domain:

    var arrayAbnormalBlockerDomains = [ "www.makeuseof.com",
                                    "www.businessinsider.com",
                                    "www.thedailybeast.com",
                                    "www.independent.co.uk"].map(String);
    
  • Added switch and removals for Independent:

    function SledgehammerRemoval() 
    {
    switch(window.location.hostname)
    {
        case arrayAbnormalBlockerDomains[2]: // dailybeast
            $(".tp-modal").remove();
            $(".tp-backdrop").remove();
            $("body").removeClass("tp-modal-open");
            $("[id*='offer-0-']").remove();
            $("[displayname*='PianoTag']").remove();
            $("[src*='tinypass.min.js']").remove();
            $("#piano_bottom_ribbon_wrapper").remove();
            console.clear();
            console.log("blocker code removed");
        break;
        case arrayAbnormalBlockerDomains[3]: //The Independent
            $(".tp-modal").remove();
            $(".tp-backdrop").remove();
            $("body").removeClass("tp-modal-open");
            $("html").removeClass("tp-modal-open");
            $("[src*='tinypass.min.js']").remove();
            console.clear();
            console.log("blocker code removed");
        break;
    }
    }
    
Kxmode作者
§
发布于:2019-08-05

Thanks! Will review soon.

§
发布于:2019-08-16

@Kxmode said: Thanks! Will review soon.

Thanks very much!

Kxmode作者
§
发布于:2019-12-05

Hey Freeman, posting a follow-up to say that I haven't forgotten your contribution. It's still on my to-do list.

Kxmode作者
§
发布于:2020-02-04

Hi, Freeman. So I had a chance to review www.independent.co.uk. From what I observed, the only thing that appeared is a basic modal that can be closed. Once closed, it did not reappear. It's a nuisance to be sure, but it doesn't prevent you from reading the content. This script is for websites that employ aggressive blockers that force you to turn off your AdBlock or some other blocker. I very much appreciate the help, but I prefer not to include simple modals. If you do encounter a section on that site with a proper ad block blocker, let me know, and I'll investigate, or better yet, feel free to create the code, and I'll add.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址