SohaibXtreme-Official
Download PC Latest Games, Watch Movies, Animes & Counter-Strike Addons/Mods With Tutorials About Making GamePanel, cPanel, Anti Exploit DDoS & Server Security.
Image default
Tutorial

How To Add Anti Adblock Script in Blogger

GameName:
SmaTech Present How To Add Ads-Block Detection Notification On Blogger [ BlogSpot.Com ] Website Free [ Latest 2k17 ]

Description:
This Anti AdBlock Plugin or scripts detect the AdBlock and then show the custom message to whitelist this website or blog or make disable on this site.

Author Uploaded: Smat
Author Writer: SohaibXtreme

Version: AntiBlock Detection [Blogger Script]

ScreenShots:

How To Add Anti Adblock Script in BloggerHow To Add Anti Adblock Script in BloggerHow To Add Anti Adblock Script in BloggerHow To Install:

Installing AdsBlock Quick Tip, Install BlogGer

How To Add Adblock Detection On BlogSpot
1. Login to Blogger with your ID.
2. Click Template.
3. Click tab Edit HTML > Proceed >
4. Find & Past Below Code Before ]]></b:skin>
Past Code:

//****** Ads Blocker Www.SohaibXtreme.NeT *****//
#swp_noadblocker { display:none;}

5. Find & Past Below Code Before </head>
<script type=”text/javascript”> if (document.getElementById(“swp_noadblocker”) != undefined) { } else { alert(“It seems like your browser has the Adblocker or other similar software installed. So if you wish to view the website please to consider disabling the ad blocker on your browser. Thanks for your corporation, “); setTimeout(“nag()”,12000); } </script>

6. Find & Past Below Code Before </body>
<script type=”text/javascript”>
document.write(‘<div id=”tester”>an advertisement</div>’);
</script>

7. Layout > Add a Gadget > HTML/Javascript Copy & Past
<style>#g207{position:fixed!important;position:absolute;top:0;top:expression
((t=document.documentElement.scrollTop?document.documentElement.scrollTop:document
.body.scrollTop)+”px”);
left:0;width:100%;height:100%;background-color:#fff;opacity:0.9;filter:alpha(opacity=90);display:block}#g207 p{opacity:1;filter:none;font:bold 16px Verdana,Arial,sans-serif;text-align:center;margin:20% 0}#g207 p a,#g207 p i{font-size:12px}#g207 ~ *{display:none}</style><noscript><i id=g207><p>Please enable JavaScript!<br />Bitte aktiviere JavaScript!<br />S’il vous pla&icirc;t activer JavaScript!<br />Por favor,activa el JavaScript!<br /><a href=”http://antiblock.org/”>antiblock.org</a></p></i></noscript><script>(function(w,u){var d=w.document,z=typeof u;function g207(){function c(c,i){var e=d.createElement(‘i’),b=d.body,s=b.style,l=b.childNodes.length;if(typeof i!=z){e.setAttribute(‘id’,i);s.margin=s.padding=0;s.height=’100%’;l=Math.floor(Math.random()*l)+1}e.innerHTML=c;b.insertBefore(e,b.childNodes[l-1])}function g(i,t){return !t?d.getElementById(i):d.getElementsByTagName(t)};function f(v){if(!g(‘g207’)){c(‘<p>Please disable your ad blocker!<br/>This site is supported by the advertisement <br/> Please disable your ad blocker to support us!!! </p>’,’g207′)}};(function(){var a=[‘Adrectangle’,’PageLeaderAd’,’ad-column’,’advertising2′,’divAdBox’,’mochila-column-right-ad-300×250-1′,’searchAdSenseBox’,’ad’,’ads’,’adsense’],l=a.length,i,s=”,e;for(i=0;i<l;i++){if(!g(a[i])){s+='<a id=”‘+a[i]+'”></a>’}}c(s);l=a.length;for(i=0;i<l;i++){e=g(a[i]);if(e.offsetParent==null||(w.getComputedStyle?d.defaultView.getComputedStyle(e,null).getPropertyValue(‘display’):e.currentStyle.display
)==’none’){return f(‘#’+a[i])}}}());(function(){var t=g(0,’img’),a=[‘/adaffiliate_’,’/adops/ad’,’/adsales/ad’,’/adsby.’,’/adtest.’,’/ajax/ads/ad’,’/controller/ads/ad’,’/pageads/ad’,’/weather/ads/ad’,’-728×90-‘],i;if(typeof t[0]!=z&&typeof t[0].src!=z){i=new Image();i.onload=function(){this.onload=z;this.onerror=function(){f(this.src)};this.src=t[0].src+’#’+a.join(”)};i.src=t[0].src}}());(function(){var o={‘http://pagead2.googlesyndication.com/pagead/show_ads.js’:’google_ad_client’,’http://js.adscale.de/getads.js’:’adscale_slot_id’,’http://get.mirando.de/mirando.js’:’adPlaceId’},S=g(0,’script’),l=S.length-1,n,r,i,v,s;d.write=null;for(i=l;i>=0;–i){s=S[i];if(typeof o[s.src]!=z){n=d.createElement(‘script’);n.type=’text/javascript’;n.src=s.src;v=o[s.src];w[v]=u;r=S[0];n.onload=n.onreadystatechange=function(){if(typeof w[v]==z&&(!this.readyState||this.readyState===”loaded”||this.readyState===”complete”)){n.onload=n.onreadystatechange=null;r.parentNode.removeChild(n);w[v]=null}};r.parentNode.insertBefore(n,r);setTimeout(function(){if(w[v]!==null){f(n.src)}},2000);break}}}())}if(d.addEventListener){w.addEventListener(‘load’,g207,false)}else{w.attachEvent(‘onload’,g207)}})(window);</script>

Tutorial By: SohaibXtreme.NeT
Uploaded By: SmaTech Present

Download TXT FILE Complete Code
http://www81.zippyshare.com/v/WoARar6d/file.html

BY SOHAIBXTREME.NET

How To Install OpenGamePanel Agent [ Debian ]Full Installation OF AntiAds-Block Script

Related posts

How To Degrade Update WordPress Version 5.1 To v4.9 [ 2k19 ]

sohaibxtreme

How To Run Counter-Strike Linux Server In Linux And Fix hlds_run And hlds_linux

sohaibxtreme

How To Install HlStatsX On Web With Adding Counter-Strike Server [ 2k19 ]

sohaibxtreme

How To Fix TeamSpeak 3 Crash & Download Crack On Linux Download

sohaibxtreme

4 comments

gualeguaychu November 13, 2017 at 10:19 pm

thank you very much friend, is what I was looking for, I’ll put it into practice.

Reply
sohaibxtreme November 14, 2017 at 6:52 am

Ur welcome

Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

UA-58254611-4