How To Create A Notification To Disable AdBlocker

#pTDeLKFkAjNc {
display: none;
margin-bottom: 30px;
padding: 20px 10px;
background: #D30000;
text-align: center;
font-weight: bold;
color: #fff;
border-radius: 5px;
}

Our website is made possible by displaying online advertisements to our visitors.
if you use an AdBlocker, Please consider supporting us by disabling your ad blocker.

var e=document.createElement(‘div’); e.id=’OZCjyfxzlQYL’; e.style.display=’none’; document.body.appendChild(e);

if(!document.getElementById(‘OZCjyfxzlQYL’)){
document.getElementById(‘pTDeLKFkAjNc’).style.display=’block’;
}

Today, publishers income is diminishing consistently because of expanding number of Adblock clients. Generally, individuals use Adblock Plus and Ghostery to expel advertisements from sites. In this post, I will share an Anti Adblocking scripts that may help bloggers to boost their Ad incomes.

How Ad blockers Kill Ads?

Adblockers are the expansions that work with various Internet programs and permit clients to forestall page components, for example, (and for the most part) promotions, from being shown.

As the majority of the bloggers are reliant on Advertisements (Adsense, Chitika, Infolinks and other promotion systems) to win their living however because of Adblockers distributers are losing their enormous incomes.

As indicated by IAB UK reports,

The latest wave of the IAB UK’s Ad Blocking Report, conducted online by YouGov, reveals that 22% of British adults online are currently using ad blocking software – a rise from 18% in October.



At current growth rates, 100% of UK adults will block ads in under 3 years. Here’s a chart by BlockAdBlock to keep you awake at night:

Also Read:  Using SS7 Flaw to Hack WhatsApp
Ad blockers growth rate
Image by: http://blockadblock.com/



Some bigger brands like Google and Yahoo are paying lots of money to Ad blocker developers to not block their Ads.


But I don’t think it would be possible for simple bloggers. Then it does not mean that there is no way for those bloggers. There are still a lot of options to bypass Ad block users script.

Some of the most common methods used by bloggers are;


1. Creating a new landing page and requesting users to disable Ad blocker for their sites.


2. Using Anti-Ad blocking plugins.


3. Using Anti Ad block scripts through Pop-Ups and redirections.


No doubt, above given steps work but it is also a reality that these steps badly affect the SEO of their sites. Some of these steps make websites loading slower and some make readers annoying by taking them to some different pages instead of destination pages.


So here today we are with a simple Anti Adblock Script to notify all users to disable AdBlock if they are using one. By using this code snippet, you can protect your site from ad-blocking visitors and recover lost revenue.


Place the script just before the close of the </body> tag on your page.

<style>
#pTDeLKFkAjNc {
display: none;
margin-bottom: 30px;
padding: 20px 10px;
background: #D30000;
text-align: center;
font-weight: bold;
color: #fff;
border-radius: 5px;
}
</style>
<div id=”pTDeLKFkAjNc”>
Our website is made possible by displaying online advertisements to our visitors.<br />
if you use an AdBlocker, Please consider supporting us by disabling your ad blocker.
</div>
<script src=”/ads.js” type=”text/javascript”>var e=document.createElement(‘div’); e.id=’OZCjyfxzlQYL’; e.style.display=’none’; document.body.appendChild(e);</script>
<script type=”text/javascript”>

Also Read:  How To Permanently Delete Your Facebook Account

if(!document.getElementById(‘OZCjyfxzlQYL’)){
  document.getElementById(‘pTDeLKFkAjNc’).style.display=’block’;
}

</script>

Seems it is locked by a social locker, follow the instruction to get started.

Other AdBlock bypassing method loading. How many comment and shares do I deserve? If you have any issues, ask directly

Iyanu Victor (BobodY) is a Student by appearance, Technology lover by heart and a Blogger by mind. He started blogging in 2015 and he has been surviving with your help. Thanks
This post was last modified on December 28, 2016

Leave a Comment

Your email address will not be published. Required fields are marked *