How to detect adblocker in blogger using javasscript and to alert visitor to turnoff adblocker:
First of all you need the adblocker javasscript.we have diasbled tect copy so download it from the download link.it’s in notepad.
Login into your blogger dashboard.
Goto layout tab.
Click on add gadget.
paste in the html box and click save button.
now your blogger can able to detect adblock plugin in the visitor browser and will ask them to disable it.
<!– donot edit any line–>
if (document.getElementById(“tester”) != undefined)
alert(‘No AdBlock Plus detected! Thanks for truly supporting our site.‘);
alert(‘We’ve detected that you’re using AdBlock Plus or some other adblocking software.
Please be aware that this is only contributing to the demise of the site.
We need money to operate the site, and almost all of that comes from our online advertising.‘);
<!–end of Jscript for adblocker–>
you can edit the alert message what ever you need to paste.If you find this article helpful for you Follow us on google+, Facebook, Twitter.
Missed my previous articles about Huawei Modems Read Here.
Missed my previous articles about BlackBerry Phones Unlock Read Here.
Missed my previous articles about Blogger Tricks Read Here.
Missed my previous articles about other Tricks Read Here.
search by users:
adblock detector and alternative message
blogger adblock detector
blog adblock detector