Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable FuckAdBlock

Tags:

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.