最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to disable FuckAdBlock - Stack Overflow

programmeradmin5浏览0评论

so most of you must be using the AdBlock or AdBlock Plus plugin in your browsers to stop the annoying ads and popups from getting displayed.

But now some devs have developed a script FuckAdBlock that helps the site owner to detect whether I have AdBlock or AdBlock Plus on my browser or not.

My question is how can I disable this script.

I had few ideas that I tried but didn't get anywhere.

  1. From the chome dev tools -> Source, I copied the link address of the script and added to blocked address in AdBlock Plus. Still the file is being loaded. Don't know why.

  2. This script is adding


    if(window.fuckAdBlock === undefined) {
        window.fuckAdBlock = new FuckAdBlock({
            checkOnLoad: true,
            resetOnEnd: true
        });
    }

So I wanted to add an Object.observe on window.fuckAdBlock, so that whenever it got changed I can change it back to null. But unfortunately I don't know how to use it properly.

  1. At last I disabled the JS on that particular site. It disabled the plugin but also some other functionality also.

so most of you must be using the AdBlock or AdBlock Plus plugin in your browsers to stop the annoying ads and popups from getting displayed.

But now some devs have developed a script FuckAdBlock that helps the site owner to detect whether I have AdBlock or AdBlock Plus on my browser or not.

My question is how can I disable this script.

I had few ideas that I tried but didn't get anywhere.

  1. From the chome dev tools -> Source, I copied the link address of the script and added to blocked address in AdBlock Plus. Still the file is being loaded. Don't know why.

  2. This script is adding


    if(window.fuckAdBlock === undefined) {
        window.fuckAdBlock = new FuckAdBlock({
            checkOnLoad: true,
            resetOnEnd: true
        });
    }

So I wanted to add an Object.observe on window.fuckAdBlock, so that whenever it got changed I can change it back to null. But unfortunately I don't know how to use it properly.

  1. At last I disabled the JS on that particular site. It disabled the plugin but also some other functionality also.
Share Improve this question edited Dec 31, 2015 at 11:53 Ram G Athreya 4,9526 gold badges28 silver badges57 bronze badges asked Dec 31, 2015 at 11:49 HarryHarry 1,7422 gold badges18 silver badges33 bronze badges 7
  • Hmmm... Can't tell if this is a good fit or not. It's a programming issue, but for a completely different purpose. – christopher Commented Dec 31, 2015 at 11:50
  • Ah, a good old arms race... reminds me of this – James Thorpe Commented Dec 31, 2015 at 11:53
  • Also, "so most of you must be using the AdBlock or AdBlock Plus"? You're jumping to conclusions, especially after the AdBlock Plus controversy. – Zeta Commented Dec 31, 2015 at 11:58
  • @zeta, :D yes you right. could you plz post the link to help me and others. – Harry Commented Dec 31, 2015 at 11:59
  • @christopher: It's off-topic in its current state. It's asking for a tool, a library, or code in order to get rid of a problem. It's much better suited for Super User. – Zeta Commented Dec 31, 2015 at 12:32
 |  Show 2 more comments

1 Answer 1

Reset to default 15

Somebody already solved the problem here. The script is quite short (103 lines). It works by changing some values in the FuckAdBlock script.

I wonder when the FuckFuckFuckAdblock script will be written though.

发布评论

评论列表(0)

  1. 暂无评论