When a user blocks ads with the help of Ad Blocking Software It takes away lots of earning opportunities from a blogger and hence, they notice a significant decrease in their earnings. You have seen lots of WordPress Plugins created to block unwanted advertisement, but blogger lacks in optimizing. Therefore, in blogger we don’t have identical scripts like WordPress but what we have is, worth considering. This script will keep on sending notifications to your visitors until they disable AdBlock so today we will discuss How to Block AdBlock on Blogger BlogSpot Blog?
How To Get Rid Of AdBlock From BlogSpot Blogs:
To force your visitors to disable AdBlocker we will use a Script which will detect AdBlock and guide the user to disable if they want to continue, otherwise it will keep on sending annoying notifications to until or unless they disable AdBlock so to do so.
Steps:
1. Go to Blogger >> Template >>
Back up your template incase any thing went wrong.
2. Now select Edit HTML >> Proceed.
3. Then search for ]]></b:skin>
once you find it, just above it paste the following CSS code:
#mbl_noadblocker {
display:none;
}
4. Now search for </head> and just above it paste the following JavaScript Code:
<script type="text/javascript">
if (document.getElementById("mbl_noadblocker") != undefined)
{
}
else
{
alert("We've detected that you're using AdBlock Plus or some other adblocking software. In order to keep this website free, this site is sponsored in part by advertisements.\r\nPlease consider disabling your ad blocker on this website\r\nif you enjoyed the content, and would like to support future \r\ninformative posts.Thank you!\r\n\r\nClick OK to continue\r\n\r\nPowered by LWTHacker.");
setTimeout("nag()",12000);
}
</script>
5. Now Search for <body> and just below it paste the following code:
<script type="text/javascript" src="http://ftp.bauer-power.net/misc/tc/advertisement.js"></script>
6. All done Save your Template by pressing Save Now button.
Replace This Red Words with Your Message.
Now any visitors who will visit your blog with AdBlock enable will face an annoying message, he will continue to get this message until he disables AdBlock.
Enjoy!!!!!!!
No comments :
Post a Comment