How to block Adblocker users in your Blogger blog

Posted On // 5 comments

Ad-blocker is an extension available on major browsers which blocks the advertisements which appear on Facebook / Google / Youtube and all small and big website/blogs. Ad-blocker currently has millions and millions of users. Bloggers work hard to provide services to their visitors and in return they too should get something and this extension is actually the road block in the path.

Due to Ad-blocker the ads don't reach some of the visitors and thus there would be no money no matter how much large user base you have. So in order to block Ad-blocker users, you just have to add a small piece of code. When any Ad-blocker user visits to your blog he will be redirected to a page which will instruct him/her to disable the extension and visit the page again.

There are many pros and cons of this plugins.

Pros - 

1. You will have more income as ads are visible to all.
2. After adding Ad-blocker the UI of the website changes to an extent. After adding this plugin all can see the actual page.


1. Bounce rate is going to be much higher
2. You may loose visitors.

A bloggers main job is helping others and not making money so I would personally recommend not to use this plugin. But if you think that you are not getting anything for the things you have been providing to your visitors you may add this plugins.

Adding the Ad-blocker Blocker

First go to Blog Title → Template → Edit HTML. Press Ctrl + F and search for </body> and paste the given code just above </body>.

<div id="abt-adblock-container">
<script type='text/javascript'>
<script type='text/javascript'>
if (document.getElementById("abt-adblock-container").clientHeight < 11 || document.getElementById("abt-adblock-container").style.position == "absolue") {window.location = "";}

After adding the code save the template.

You are done now. Now whenever any Ad-blocker users come to your block he would be forced to disable the extension to see the contents of your blog.


Boobuinc Author
30 June 2013 at 19:49

not working ..... showing page even if ad block disasbled

1 July 2013 at 02:31

Well this is how it works. When adblock is "DISABLED" then the visitor can see the page of your blog

Rajesh Kuchan Author
17 October 2013 at 02:12

First of all i want to thank for your website you have a bunch off cool and best stuff i ever had ...

I need this Gadgets for my



3: Sticky Menu Bar

4: Header Email Subscription Gadget

(I have already sent you Emails regarding this but ur not responding ... plzzz help me to get this)

7 December 2013 at 01:56

not working :(
even if i not enable adblock the blog go to another page automatically !

but thanks you at all

11 August 2014 at 06:41

Hello Sir, could you make a post on how to show alternate content to adblock users for blogger blogspot? please refer this post
I would be happy if you could make a script for blogger. Please help us. Thank you.


Post a Comment

Please do not spam here. All comments will be moderated.
Don't You Think this Awesome Post should be shared ??
| How to block Adblocker users in your Blogger blog |