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.
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.
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.
- 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.
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.
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.
- At last I disabled the JS on that particular site. It disabled the plugin but also some other functionality also.
- 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
1 Answer
Reset to default 15Somebody 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.