Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prevent adblockers on your site
#1
Hello webmasters,
many of you are having ads on their site and need them to get the money for domain, hosting and other stuff.

However, there are people who do ignore that and use adblockers - they use your content but you will get nothing from them.

Here is a way for you to give access to your site only, when your ads are displayed too. If somebody has an adblocker active, he will not be able to browse your site until he deactivated it.

Does work for the following advertisers:
  1. Google Adsense
  2. Adscale
  3. Bin-Layer
  4. Mirando
  5. Mirago
  6. BitVertiser
  7. AdTiger

How to do it:
Open your Admin CP, go to templates and style -> templates.

In each theme you do use, open the templates and in the "ungrouped templates"-group find the template "headerinclude".

At the end of the template put this code:
Code:
You are not allowed to see code.

Now only users who actually see your ads and do not have an adblocker activated will be able to access your site.

The full script and further information can be found at http://www.antiblock.org/

Best regards
Lennart Sauter
Forum Admin
Reply
#2
Thanks a lot for this Smile

How can i modify the code so that only adsense is checked and i want a popup to be displayed instead of blocking them totally.

Total n00b here Blush
Regards
Reply
#3
Just remove the cases like:
Code:
You are not allowed to see code.
Forum Admin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)