Display Ad/Contents while using Adblock In Blogger

Bloggers are paying their requirements with the Ads they show up on their blogs and websites. So if visitors use Ad Blocker to whats the deal? The reader will be benefited buy not the blogger or the admin of the website. There are many Ad blocking tools found over internet where they totally developed to block all advertisements. They are good for some websites which shows unwanted and other pop-up ads. These types of ad can surely make the readers to feel uncomfortable, but on display high quality ads from the popular ad network may not spoil their reading mind. So if the reader uses ad blocker then there will be decrease in blog’s revenue. So to prevent this today I’m with an best solution of this case with some scripts.


Revenue is decreased from popular search engines to every simple blogs with Ad blocker. Even Google, Yahoo, Bing and other search engines also loose their money from ads. But there are some rumors say Google is paying some bucks to Ad blocking developers instead to stop blocking their ads on their search result page. But it won’t affect Google because it is focused only on keywords and the adsense ads are display related to the keyword. The keyword can be choosed by the publisher too with some addition options. These things grow viral and no one here to ask to stop blocking ads. But they are ready to pay money instead of finding a solution for making their ads visible evenafter Ad Blocker is enabled!

This is an great idea! This can works very comfortable for Adsense monetized blogs and websites. This new trick will allows the adsense ads to show up while the Ad blocker is enabled! The simple script helps to display ads even your own customized ad banners or affiliate ad banners even after installing Ad blocker software’s. This method is a great one which can surely change many bloggers life to mage huge revenue from their blogs. And the best part here is, you can able to use this trick on Bloggers blogs too!

So in the place ads you can show up different content to the people who are blocking ads. For example, you can display YouTube videos, Facebook Like Box, Twiiter Tweet box, Google Plus Followers, PayPal donate button and more. As I mentioned before, even you can run promoting articles from your own blog and custom messages to the readers. Implementing this trick on your blog is so simple and this trick effect more advantage for blogger and web owners.

Things to be Noted:-

  1. This trick works only for Google Adsense.
  2. Only the First Adsense Ad will be replaced.
  3. You can use this trick on WordPress and other platforms too.
  4. And there is no Violation of Google Adsense policy using this trick.

Lets get back to the content. This post shares you about Display Ad/Content To Users Using Adblock In Blogger blogs. If you’re well in your website panel then you can give a try for this too. Do you really wanna to cheer up? Then lets get started,

Step 1: Blogger Dashboard >> Template >> Edit HTML.

Step 2: FInd </body> tag in your template and Paste the following code before/above  </body>,

<script> window.onload =function(){ setTimeout(function(){ var ad = document.querySelector(“ins.adsbygoogle”); if(ad && ad.innerHTML.replace(/s/g,“”).length ==0){ ad.style.cssText =‘display:block !important’; ad.innerHTML =‘Your custom HTML msg’; } },2000);// The ad blocker check is performed 2 seconds (2000 ms) after the page load };</script>

This script trys to find your first adsense ads on your blog. If the unit was found to be empty due to ad blocker tool then an alternative HTML message will be displayed in the blocker ad space. So replace “Your custom HTML msg” with your own custom message and paste the following script too,

<a href=”Enter site link here” > <img src=”Enter image URL here” alt=”Image Description”  width =”Enter width” height =”Enter hieght of image” /></a>

Step 3: Now replace the highlighted code with yours and save your template. That’s it!


What do you think about this trick? Whether it is Useful or not? Share your thoughts in comments below! If you’re facing any problems while adding this trick then drop them in comments too to get solution for it! Hope this trick may helps you a lot to increase your Adsense revenue. Cheers;)

via: Labnol.org

Facebook Comments

Speak Your Mind


CommentLuv badge