2 Premium Script to disable ad blocker in Blogger

3/5 - (1 vote)

Are you looking for a script to disable ad blocker for your Blogger blog? In this article, I share the two best ways to turn off the ad blocker plugin in Blogger. Just follow the steps below for a smooth installation. Most internet users use an AdBlock extension in their browser to block ads on YouTube and other websites.

This will affect the earnings of website owners who rely on AdSense profits to earn more profits due to the ad blocker, which blocks the display of ads on the page.
How to add a script to disable the ad blocker in Blogger In this explanation, there are two ways to add a script to turn off the ad blocker in Blogger. Choose the method that suits you.

The First Method is to disable ad blocker

To install the script to disable the ad blocker in Blogger, you must carefully follow the following steps: Make sure to back up your template before following these steps as a precaution.

Log in to your Blogger dashboard and click on the Appearance section. Click the “Edit HTML” section to open the HTML editor.

Press Ctrl + F to open the search bar and find the </head> tag
Paste the script to disable ad blocker in Blogger just before the </head> tag and save the code

<style>#pbt{backdrop-filter:blur(5px);background:rgba(0,0,0,.25);padding:20px
  19px;border:1px solid
  #ebeced;border-radius:10px;color:#ebeced;overflow:hidden;position:fixed;margin:auto;left:10;right:10;top:0;width:100%;height:100%;overflow:auto;z-index:999999}#pbt
  .inner{background:#f5f2f2;color:#000;box-shadow:0 5px 20px
  rgba(0,0,0,.1);text-align:center;width:600px;padding:40px;margin:80px
  auto}#pbt button{padding:10px
  20px;border:0;background:#e9e9e9;margin:20px;box-shadow:0 5px 10px
  rgba(0,0,0,.3);cursor:pointer;transition:all .2s}#pbt
  button.active{background:#fff}#pbt
  .tutorial{background:#fff;text-align:left;color:#000;padding:20px;height:250px;overflow:auto;line-height:30px}#pbt
  .tutorial div{display:none}#pbt .tutorial div.active{display:block}#pbt
  ol{margin-left:20px}@media(max-width:680px){#pbt .inner{width:calc(100% -
  80px);margin:auto}}</style>

Press Ctrl + F to open the search bar, find the </body> tag and add the following code above the

<script type='text/javascript'> //<![CDATA[ 
// Anti Adblock Script by https://nur4tech.com/
  var _0x4e59=['split','253248lFzjJB','remove','hidden','shift','insertBefore','text/javascript','.close','25369fWTUro','parentNode','11wLvilQ','querySelector','async','314264FiyqLS','classList','.tutorial\x20>\x20div','pbt','getElementsByTagName','class','1133687koVsRN','body','211oQwqSt','getAttribute','div','511964rWHMCI','overflow','onerror','149820roGHEi','append','length','1zTOvzf','76874CJYKiZ','1201508bOwHPJ','script','5gbMVAo','437279JtzAiA','add','button','682713FbpvLi','push','7qXwdrl','198139ipIhBA','src','1145snhYTy','1upMcDZ','active','style','preventDefault','https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js','type'];function _0x505a(_0x18d840,_0x1cec87){_0x18d840=_0x18d840-0x171;var _0x4e591f=_0x4e59[_0x18d840];return _0x4e591f;}var _0xa00dd1=_0x505a;(function(_0xb39422,_0x25d9d1){var _0x73d56c=_0x505a;while(!![]){try{var _0x1b40f8=parseInt(_0x73d56c(0x17f))+parseInt(_0x73d56c(0x18f))*parseInt(_0x73d56c(0x179))+parseInt(_0x73d56c(0x177))*parseInt(_0x73d56c(0x182))+parseInt(_0x73d56c(0x184))+-parseInt(_0x73d56c(0x18a))+parseInt(_0x73d56c(0x183))+parseInt(_0x73d56c(0x18c))*-parseInt(_0x73d56c(0x18d));if(_0x1b40f8===_0x25d9d1)break;else _0xb39422['push'](_0xb39422['shift']());}catch(_0x3ceed6){_0xb39422['push'](_0xb39422['shift']());}}}(_0x4e59,0xb3266));var _0x1484=[_0xa00dd1(0x1a1),_0xa00dd1(0x196),_0xa00dd1(0x19d),_0xa00dd1(0x186),_0xa00dd1(0x17e),'<div\x20class=\x22inner\x22>\x20<div\x20class=\x22header\x22>\x20<center><img\x20style=\x22clear:\x20both;\x20text-align:\x20center;\x22\x20border=\x220\x22\x20data-original-height=\x22260\x22\x20data-original-width=\x22260\x22\x20src=\x22https://blogger.googleusercontent.com/img/a/AVvXsEhfLghiUtf7zGkv2eWd7RW1wnC2rgVj7ghqVBFX3pEwK7NinOD3oEtvBQ6Q_TF1FB-Lc4INGM0O95B79_kHZvv1a8yO8Z8BBKidACSLhl1zlqT9bPuSZi468RAIdSgPUQ8MN-7gZvdgeguLqFjYbp4-6Ugtr9Ni4gLtn_fy3uz1SNwhygCIr7O4t3-n\x22\x20/></center>\x20<h2>تم الكشف\x20 عن مانع\x20الإعلانات\x20:(</h2>\x20</div>\x20<div\x20class=\x22isi\x22>\x20<p>يرجى\x20النظر في\x20دعمنا\x20من\x20خلال\x20تعطيل\x20مانع\x20الإعلانات\x20الخاص بك.</p><p>يرجى\x20تعطيل\x20مانع\x20الإعلانات\x20الخاص بك\x20وتحديث\x20الصفحة\x20لعرض\x20محتوى\x20الموقع.</p><div></br></div>\x20\x20<div\x20class=\x22pbtadblock\x22></div>\x20</div>\x20</div>\x20</div>',_0xa00dd1(0x174),_0xa00dd1(0x1a2),_0xa00dd1(0x181),_0xa00dd1(0x18e),_0xa00dd1(0x188),'querySelectorAll','classList',_0xa00dd1(0x19b),_0xa00dd1(0x178),'22532LpgvBI',_0xa00dd1(0x192),'adblock','createElement','click',_0xa00dd1(0x197),_0xa00dd1(0x17c),_0xa00dd1(0x190),'innerHTML',_0xa00dd1(0x173),_0xa00dd1(0x17a),_0xa00dd1(0x180),_0xa00dd1(0x171),'1UJEfNY',_0xa00dd1(0x185),_0xa00dd1(0x187),_0xa00dd1(0x19e),_0xa00dd1(0x17d),_0xa00dd1(0x191),_0xa00dd1(0x195),'616480ksPrca',_0xa00dd1(0x19c),_0xa00dd1(0x1a0),_0xa00dd1(0x194)];function _0xb322(_0x360eee,_0x283601){_0x360eee=_0x360eee-0xd0;var _0x1f5f85=_0x1484[_0x360eee];return _0x1f5f85;}(function(_0x12fdb1,_0x557074){var _0x3722dd=_0xa00dd1,_0x43195d=_0xb322;while(!![]){try{var _0x55075c=parseInt(_0x43195d(0xf2))+parseInt(_0x43195d(0xd3))*parseInt(_0x43195d(0xd5))+-parseInt(_0x43195d(0xda))+-parseInt(_0x43195d(0xd2))+-parseInt(_0x43195d(0xd6))*parseInt(_0x43195d(0xe1))+-parseInt(_0x43195d(0xdc))*-parseInt(_0x43195d(0xed))+parseInt(_0x43195d(0xf3))*parseInt(_0x43195d(0xf4));if(_0x55075c===_0x557074)break;else _0x12fdb1[_0x3722dd(0x18b)](_0x12fdb1[_0x3722dd(0x19a)]());}catch(_0x852811){_0x12fdb1[_0x3722dd(0x18b)](_0x12fdb1[_0x3722dd(0x19a)]());}}}(_0x1484,0x5fe32),!function(){var _0x348e45=_0xa00dd1,_0xfadb33=_0xb322;function _0x3412ca(){var _0x189dcd=_0x505a,_0x5a1fb6=_0xb322,_0xfeac31=document[_0x5a1fb6(0xf0)](_0x189dcd(0x17b));_0xfeac31['id']=_0x5a1fb6(0xe4),_0xfeac31[_0x5a1fb6(0xf5)]=_0x5a1fb6(0xe3),document[_0x5a1fb6(0xec)][_0x5a1fb6(0xd1)](_0xfeac31),document[_0x189dcd(0x178)][_0x5a1fb6(0xee)][_0x5a1fb6(0xd7)]=_0x189dcd(0x199);var _0x4978cd=_0xfeac31[_0x5a1fb6(0xe9)](_0x189dcd(0x189));_0xfeac31[_0x5a1fb6(0xde)](_0x5a1fb6(0xe0));var _0x143455=_0xfeac31['querySelectorAll'](_0x5a1fb6(0xf6));for(_0xfeac31=0x0;_0xfeac31<_0x4978cd[_0x5a1fb6(0xe6)];_0xfeac31++)_0x4978cd[_0xfeac31]['addEventListener'](_0x5a1fb6(0xf1),function(_0x732378){var _0x2a1017=_0x189dcd,_0x290da2=_0x5a1fb6;_0x732378[_0x2a1017(0x193)](),_0x732378=this[_0x290da2(0xd0)](_0x2a1017(0x176))[_0x290da2(0xdf)]('\x20')[0x0];for(var _0x40a8d9=0x0;_0x40a8d9<_0x143455[_0x290da2(0xe6)];_0x40a8d9++)_0x143455[_0x40a8d9][_0x290da2(0xea)]['remove'](_0x2a1017(0x191)),_0x4978cd[_0x40a8d9]['classList'][_0x2a1017(0x198)]('active');_0x4978cd[_0x732378-0x1][_0x2a1017(0x172)][_0x290da2(0xe8)](_0x290da2(0xd8)),_0x143455[_0x732378-0x1][_0x290da2(0xea)][_0x290da2(0xe8)](_0x2a1017(0x191));});}var _0x206c7b=document[_0xfadb33(0xf0)](_0xfadb33(0xd4));_0x206c7b[_0xfadb33(0xd9)]=_0xfadb33(0xdb),_0x206c7b[_0xfadb33(0xe5)]=!0x0,_0x206c7b[_0xfadb33(0xe7)]=_0xfadb33(0xdd),_0x206c7b[_0xfadb33(0xe2)]=function(){var _0xcaaee5=_0xfadb33;_0x3412ca(),window[_0xcaaee5(0xef)]=!0x0;};var _0x340314=document[_0x348e45(0x175)](_0x348e45(0x185))[0x0];_0x340314[_0x348e45(0x19f)][_0xfadb33(0xeb)](_0x206c7b,_0x340314);}());
          //]]>
</script>

Ensure everything works correctly by going to your blog and watching the code work.

See also  How to create a Professional Contact Us page on Blogger

The Second Method is to disable ad blocker

go to Edit html Press Ctr+F and Find ]]></b:skin>

Paste the script to disable ad blocker in Blogger just before the tag above and save the code.

/* add block */
#ignielAdBlock {background:rgba(0,0,0,0.85);padding:0;position:fixed;bottom:0;right:0;top:-100px;left:0;z-index:1000;opacity:1;visibility:visible;height:auto;}
#ignielAdBlock svg {width:100px; height:100px}
#ignielAdBlock svg path {fill:#fff}
#ignielAdBlock a{color:#ffe88b;} #ignielAdBlock a:hover{color:#ffe88b;text-decoration:underline}
#ignielAdBlock .isiAds{background:#bb0f0f;color:#fff;position:absolute;text-align:center;padding:0 30px 30px 30px;margin:auto;top:20%;bottom: 5%;right:0;left:0;font-size:1.5rem;font-weight:400;line-height:2.5em;font-family:'Cairo';max-width:800px;box-shadow:0 20px 10px -10px rgba(0,0,0,0.15);border:15px solid rgba(0,0,0,.07); overflow:hidden; transition:all .6s cubic-bezier(.25,.8,.25,1); -webkit-transform:translateZ(0); transform:translateZ(0); backface-visibility:visible; transition:all .2s ease-in-out,visibility 0s; transform-origin:bottom center; pointer-events:auto; transform:rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1); opacity:1; animation:ignielWobble .5s; -moz-animation: ignielWobble .5s; -webkit-animation:ignielWobble .5s; -o-animation:ignielWobble .5s}
#ignielAdBlock .isiAds:hover{box-shadow:0 20px 10px -10px rgba(0,0,0,0.2);}
#ignielAdBlock .isiAds h4, #ignielAdBlock .isiAds .judul{display:inline-block;background:rgba(0,0,0,.07);padding:5px 25px 15px 25px;font-size:2.2rem;font-weight:600;margin-bottom:20px}
#ignielAdBlock .tutupAds{visibility:hidden;opacity:0;color:#ffe88b;text-align:center;position:absolute;bottom:10px;left:10px;font-size:42px;cursor:pointer;width:30px;height:30px;line-height:30px;border-radius:100%;transition:all .6s cubic-bezier(.25,.8,.25,1);transform:translate(0,50px);}
#ignielAdBlock .tutupAds:hover{color:#fff;transform:scale(1.0);}
#ignielAdBlock .isiAds:hover .tutupAds{visibility:hidden;opacity:0;color:#ffe88b;transform:translate(0,0)}

Now Press Ctrl + F to open the search bar, find the tag </body> and add the following code above the

<script> //<![CDATA[
(function ignielAdBlock() {
var judulAd = 'إيقاف AdBlock',
notifAd = '<p>من فضلك قم بتعطيل أداة مانع الأعلانات أدبلوك AdBlock من المتصفح للدخول للمدونة ، أو أستخدم متصفح أخر وشكرا لك ?<br/>المدونة تعتمد فقط على الأعلانات كمصدر لدخلها لذلك نرجو منك تفهم الأمر بدون أنزعاج وشكرا لك ?'; var ad = document['createElement']('script');
ad['type'] = 'text/javascript';
ad['src'] = '//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
ad['async'] = true;
ad['onerror'] = function() {
var _0xc9cbx2 = document['createElement']('div');
_0xc9cbx2['id'] = 'ignielAdBlock';
_0xc9cbx2['innerHTML'] = '<div class="isiAds"><span class="judul">' + judulAd + '</span><br/><svg viewBox="0 0 24 24"><path d="M13,13H11V7H13M12,17.3A1.3,1.3 0 0,1 10.7,16A1.3,1.3 0 0,1 12,14.7A1.3,1.3 0 0,1 13.3,16A1.3,1.3 0 0,1 12,17.3M15.73,3H8.27L3,8.27V15.73L8.27,21H15.73L21,15.73V8.27L15.73,3Z"></path></svg><br/>' + notifAd + '</div>';
document['body']['append'](_0xc9cbx2);
document['body']['style']['overflow'] = 'hidden';
window['adblock'] = true
};
var b_ad = document['getElementsByTagName']('script')[0];
b_ad['parentNode']['insertBefore'](ad, b_ad)
})();
//]]> </script>

You have now completed the script to disable ad blocker in Blogger. If you encounter any problems, you can ask them directly in the comment below the post.

Leave a Comment