Hello Everyone, Today in this post I am going to share a tutorial on How To Install Anti Adblock Script in Blogger Website. AdBlock is a browser extension that functions to prevent or block the appearance of advertisements on the sites visited, the purpose of installing AdBlock is usually to make visitors more comfortable when reading articles on a site without having to see annoying ads.
because it is not uncommon for blog managers now to place excessive advertisements, with the intention of getting more income, of course this can disturb blog visitors.
that way we also can't blame internet users for using AdBlock for their convenience.
but as a blog owner of course this can be a problem, because the source of blogging income is from the ad, if the ad doesn't appear then no income comes in. therefore we need to do a way to prevent AdBlock from blocking the appearance of ads.
so here I will share an anti AdBlock script with pure javascript without a touch of jQuary which of course will be much lighter than those using jQuary, the way this script works will detect if the user activates AdBlock it will automatically display a pop up notification asking the user to disable AdBlock.
How to Install Anti AdBlock on Blogger
/* anti adblock by wendy code */
@-webkit-keyframes slide-down{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes slide-down{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}
.wc-adblock-wrap.aktif{opacity:1;visibility:visible}
.wc-adblock-wrap{width:100%;height:100%;position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);z-index:99999;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;visibility:hidden}
.wc-adblock-knt{width:100%;max-width:500px;position:relative;background:#fefefe;border-radius:10px;border:1px solid #eee;color:#262d3d;text-align:center;padding:35px;top:150px;margin:20px auto;box-shadow:0 10px 20px rgba(0,0,0,0.2);-webkit-animation:slide-down 2s ease-out;animation:slide-down 2s ease-out}
.wc-adblock-knt h2{margin-top:15px;font-size:17px}
svg.wc-adblock{fill:#e00000;width:50px;height:50px}
<!--[The script doesn't work if you remove the creator credit]-->
<div class='made-by-wc' style='display:none;'>https://blog.choipanwendy.com</div>
<!--[fake ads jangan di hapus ]-->
<ins class='adsbygoogle ad ads adsbox doubleclick ad-placement ad-placeholder adbadge BannerAd' id='wc-ad-detec' style='height:1px;width:1px'></ins>
<div class='wc-adblock-wrap'>
<div class='wc-adblock-knt'>
<svg class='wc-adblock' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7.775 0a1.8 1.8 0 0 0-1.273.527L.528 6.503A1.8 1.8 0 0 0 0 7.775v8.45c0 .478.19.936.528 1.274l5.974 5.974A1.8 1.8 0 0 0 7.775 24h8.45a1.8 1.8 0 0 0 1.273-.527l5.975-5.974A1.8 1.8 0 0 0 24 16.225v-8.45a1.8 1.8 0 0 0-.527-1.272L17.498.527A1.8 1.8 0 0 0 16.225 0zm4.427 3c1.02 0 .958 1.108.958 1.108v6.784s-.009.218.16.218c.188 0 .175-.226.175-.226l-.002-5.63s-.05-.986.959-.986c1.01 0 .97.983.97.983v7.621s.014.158.141.158c.127 0 .944-2.122.944-2.122s.451-1.497 2.576-1.1c.038.008-.167.688-.167.688l-2.283 6.556S15.69 20.7 11.714 20.7c-5.044 0-4.808-5.407-4.814-5.405V7.562s-.016-.99.897-.99c.858 0 .849.99.849.99l.007 3.583s-.004.172.167.172c.16 0 .141-.172.141-.172l.01-5.926s-.055-1.162.966-1.162c1.04 0 .983 1.142.983 1.142v5.611s-.005.204.152.204c.168 0 .154-.206.154-.206l.01-6.693S11.18 3 12.202 3Z'/></svg>
<h2 data-en='Ad Blocker Detected'>Ad Blocker Detected</h2>
<p data-en='Turn off your adblock to be able to access this site.'>Turn off your adBlock to be able to access this site.</p>
<a href='javascript:;' id='wc-adb-tj'>translate to english</a>
</div>
</div>
<script>
/*<![CDATA[*/
//anti adblock by wendy code javascript murni
var adsansejs = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8802465226xxxxxx";
var adsjstype = "lazyload"; // ubah ( lazyload ) jadi ( defer ) jika ingin menggunakan defer
eval(function(x,e,c,a,_,d){if(_=function(x){return x},!"".replace(/^/,String)){for(;c--;)d[c]=a[c]||c;a=[function(x){return d[x]}],_=function(){return"\\w+"},c=1}for(;c--;)a[c]&&(x=x.replace(new RegExp("\\b"+_(c)+"\\b","g"),a[c]));return x}("3 62(){1 147=['414','255','264','257','230','235','236=','239=','240','299','303','304','295==','309','314','155','198','192','274','275','278','279=','195','{}.141(\\270\\282\\290)(\\139)','141','233','97','77','(((.+)+)+)+$','296','291==','289','288','172','287','286','285','284','165','283=','280','277','108','276','273','228','69','272','207','271','292','281+','293','178','306','182','316','204','315','95','312','311==','310','308','191','307','305','105','3','302==','221','301','300','298','136','297','268=','157','220','294==','269=','266','267','242==','241','234','237','232','71','168','8\\139(3()\\139','229','243=','238','245='];62=3(){8 147};8 62()}1 0=14;(3(148,144){1 18=14,65=148();244(!![]){160{1 151=-20(18(265))/74+20(18(263))/24*(-20(18(262))/61)+-20(18(261))/46+20(18(260))/201*(20(18(259))/23)+20(18(258))/222+-20(18(256))/217+20(18(246))/226*(-20(18(254))/225);37(151===144)252;84 65['143'](65['140']())}158(251){65['143'](65['140']())}}}(62,248));1 4=['247=',0(317),0(313),0(319),0(367),'389+388/387==',0(386),'385==',0(384),0(383),0(382),0(381),0(380),0(378),0(368),0(377),0(376),0(375),'374=',0(373),0(372),0(371),0(370),0(318),'369==','390',0(379),0(391),0(404)],2={'97':413(4[74]),'412':3(34){1 12=0,119,75,73,116,115,72,66,89='',60=6;67(34=2[12(411)](34);60<34[12(33)];)116=(119=34[12(64)](60++))>>24,115=(61&119)<<46|(75=34[12(64)](60++))>>46,72=(83&75)<<24|(73=34[12(64)](60++))>>23,66=30&73,142(75)?72=66=78:142(73)&&(66=78),89=89+16[12(31)]['69'](116)+16[12(31)][12(54)](115)+16[12(31)]['69'](72)+16[12(31)][12(54)](66);8 89},'5':3(25){1 11=0,173=3(){1 127=!![];8 3(150,87){1 164=127?3(){1 149=14;37(87){1 146=87[149(166)](150,154);8 87=110,146}}:3(){};8 127=![],164}}(),81=173(16,3(){1 32=14;8 81['172']()[32(171)](32(170))[32(132)]()[32(156)](81)[32(171)](32(170))});81();1 48=3(){1 122=!![];8 3(163,85){1 161=122?3(){1 169=14;37(85){1 162=85[169(166)](163,154);8 85=110,162}}:3(){};8 122=![],161}}(),152=48(16,3(){1 10=14,52;160{1 159=394(10(392)+10(366)+');');52=159()}158(365){52=39}1 130=52[10(340)]=52['157']||{},137=[10(339),10(338),10(337),'336','335',10(334),10(333)];67(1 91=6;91<137[10(33)];91++){1 57=48[10(156)][10(330)]['136'](48),117=137[91],131=130[117]||57;57[10(320)]=48['136'](48),57[10(132)]=131[10(132)][10(328)](131),130[117]=57}});152();1 100,109,104,93,68,101,38='',42=6;67(25=25[11(167)](/[^324-323-322-9\\+\\/\\=]/174,'');42<25[11(33)];)100=16[11(31)][11(96)](25[11(54)](42++))<<24|(93=16[11(31)][11(96)](25['69'](42++)))>>46,109=(83&93)<<46|(68=16[11(31)][11(96)](25[11(54)](42++)))>>24,104=(61&68)<<23|(101=16['97']['155'](25[11(54)](42++))),38+=13[11(19)](100),78!=68&&(38+=13[11(19)](109)),78!=101&&(38+=13[11(19)](104));8 38=2['153'](38)},'165':3(55){1 35=0;55=55[35(167)](/\\354\\344/174,'\\353');67(1 27='',80=6;80<55['168'];80++){1 21=55['71'](80);21<63?27+=13['95'](21):21>352&&21<351?(27+=13[35(19)](21>>23|350),27+=13[35(19)](30&21|63)):(27+=13[35(19)](21>>106|145),27+=13[35(19)](21>>23&30|63),27+=13[35(19)](30&21|63))}8 27},'153':3(45){1 40=0;67(1 58='',22=6,28=348=59=6;22<45[40(33)];)(28=45['71'](22))<63?(58+=13['95'](28),22++):28>346&&28<145?(59=45[40(64)](22+74),58+=13[40(19)]((345&28)<<23|30&59),22+=24):(59=45[40(64)](22+74),176=45['71'](22+24),58+=13[40(19)]((83&28)<<106|(30&59)<<23|30&176),22+=61);8 58}},219=2['5'](4[46])+2['5'](4[201]),224=2['5'](4[6])+2['5'](4[24])+2['5'](4[61]),223=7[0(49)](2['5'](4[23]));3 107(){1 99=0,98=7[99(90)](2['5'](4[222]))[6];98['108']+=219,98[99(227)](2['5'](4[217]),2['5'](4[226]))}3 14(214,215){1 218=62();8 14=3(82,347){82=82-33;1 216=218[82];8 216},14(214,215)}37(7[0(349)](2['5'](4[23]))[0(33)]===6)107();84{37(223['108']!=224)107();84{1 76=7[0(49)](2['5'](4[225])),79=7['221'](2['5'](4[356])),181=7[0(90)](2['5'](4[106])),111=7[0(103)](2['5'](4[357])),125=7[0(103)](2['5'](4[358])),124=7['105'](2['5'](4[83])),126=7['105'](2['5'](4[359])),123=7[0(103)](2['5'](4[360]));3 43(){1 102=0;79[102(187)][102(134)](2['5'](4[135]))}37(361===2['5'](4[362])){1 86=![];39[0(205)](0(363),3(){1 53=0;(7[53(364)]['220']!=6&&86===![]||7[53(194)][53(355)]!=6&&86===![])&&(3(){1 17=53,47=7['112'](2['5'](4[92]));47[17(227)](17(342),17(331)),47[17(341)]=!![],47[17(190)]=189,47[17(188)]=3(){1 212=17;79['195'][212(134)](2['5'](4[135]))};1 94=7[17(90)](2['5'](4[92]))[6];94[17(186)][17(184)](47,94)}(),86=!![])},!![])}84(3(){1 15=0,50=7['112'](2['5'](4[92])),129=7[15(321)]('192');129[15(325)]='191',50[15(326)](129),50[15(327)]=!![],50[15(190)]=189,50[15(188)]=3(){1 133=15;79[133(187)][133(134)](2['5'](4[135]))};1 138=7[15(90)](2['5'](4[329]))[6];138[15(186)][15(184)](50,138)}());39[0(183)](3(){1 213=0,177=332(76,110);177[213(343)]===2['5'](4[175])&&43()},44),39[0(183)](3(){1 41=0;(76[41(51)]===6||111[41(51)]===6||125[41(51)]===6||124[41(51)]===6||126[41(51)]===6||123['182']===6)&&43()},44),39['77'](3(){1 29=0;(76[29(36)]===6||111[29(36)]===6||125[29(36)]===6||124[29(36)]===6||126[29(36)]===6||123[29(36)]===6)&&43()},44),39['77'](3(){1 180=0;181[180(33)]===6&&43()},44),!3(193,70){1 56=0;56(395)==179 121&&121['396']?121(70):56(397)==179 178?398[56(399)]=70:193[56(400)]=70()}(16,3(){'401 402';1 118={},211=3(){1 185=14,88=7['112'](2['5'](4[393]));8 88['403']=2['5'](4[405]),7[185(194)]['406'](88),88};8 118['204']=3(210,208){1 113=211();77(3(){1 114=14,209=6===113[114(407)]&&6===113[114(408)];210(209)},208||44)},118}),207[0(409)](3(206){206&&43()},44),7[0(49)](2['5'](4[196]))[0(205)](0(410),203);3 203(){1 26=0,120=7[26(49)](2['5'](4[249])),197=120[26(250)](2['5'](4[199]));120[26(200)]=197;1 128=7[26(49)](2['5'](4[253])),202=128['198'](2['5'](4[199]));128[26(200)]=202,7[26(49)](2['5'](4[196]))[26(231)]['228']=2['5'](4[175])}}}",0,415,"_0x41ece5|var|Wc|function|adbarr|de|0x0|document|return||_0x38777d|_0x206b73|_0x3a9bfa|String|_0x8492|_0x4f2ede|this|_0x5dab5e|_0x362352|0x160|parseInt|_0xc7ed41|_0x4622b4|0x6|0x2|_0x3cf27a|_0x1edf2f|_0x424de4|_0x522bb7|_0x2b5685|0x3f|0x13f|_0x5a4097|0x11f|_0x328609|_0x101a0c|0x16c|if|_0x2e0709|window|_0x2a09bc|_0x3573db|_0x5cb758|akadb|0x3e8|_0x164819|0x4|_0x26c5b6|_0x1145b9|0x16b|_0x50eaa8|0x15c|_0x205e26|_0xc6aa41|0x153|_0xe7b281|_0x174e58|_0xeb478c|_0x10ac9f|c2|_0x33df25|0x3|_0x305c|0x80|0x17d|_0x11fae5|_0x4982e8|for|_0x5c0eb8|charAt|_0x1a4ccf|charCodeAt|_0x27a25b|_0x4bc978|0x1|_0x5b1464|wcadbdtc|setTimeout|0x40|wcadbwp|_0x30180c|_0x27bf82|_0x3eda38|0xf|else|_0x4ce62e|lazyadsense|_0x131c9b|_0xbdce95|_0x552224|0x167|_0x457200|0x19|_0x5d2b85|_0x3abec0|fromCharCode|0x134|_keyStr|_0x47681e|_0x200448|_0x16b9df|_0x40fde4|_0x4559a4|0x168|_0x5cef03|getElementById|0xc|tmpkcuk|innerHTML|_0x2d0046|null|idadfrm|createElement|_0x515306|_0x373289|_0xd0c5a6|_0x17ce9f|_0x12bf1f|_0x152d50|_0xecaa62|_0x44f7f6|define|_0x21269d|idadasr|idadaso|idadasn|idadast|_0x383773|_0x2c9fb3|_0x360b23|_0x161588|_0xb59a43|0x146|_0x1b23f2|0x17b|0x12|bind|_0x299090|_0x3a4c23|x20|shift|constructor|isNaN|push|_0x222d84|0xe0|_0x4bed34|_0x4df0db|_0x12cd76|_0x2619bc|_0x4b9fe2|_0x5a62eb|_0x384206|_utf8_de|arguments|indexOf|0x13d|console|catch|_0x17aefc|try|_0x2209ce|_0x5c2d62|_0x6e4e93|_0x5986fa|_utf8_en|0x15d|0x12f|length|_0x38c42a|0x141|0x138|toString|_0x3823f1|g|0x18|c3|_0x10f256|exports|typeof|_0xa9f16c|tgnmins|offsetHeight|0x140|0x142|_0x4d586c|0x179|0x13b|0x14e|adsansejs|0x14d|anonymous|crossorigin|_0x548429|0x154|classList|0x14|_0x24305e|getAttribute|0x17|0x14f|0x5|_0x41b513|adbtj|check|0x149|_0x2f2ae9|adblock|_0x24da50|_0x3a1034|_0x56cb74|_0x95c243|_0x3215c2|_0x1c4df5|_0x560716|_0x5d84e5|_0x22cdca|0x8|_0x2cb88c|tmplkndng|scrollTop|querySelector|0x7|inrmdby|orcrdt|0xa|0x9|0x12e|display|value|234825CPTdxF|0x17a|333aoljew|292232RSYilT|style|wV1n|MUb6Sm5hMUXdNqcdi6D|add|offsetTop|SqizSVYcNmxjN6adw613OIQ|27230jKneQF|parentNode|r61zr613MBh3rVCgiJ|NBF8wVM3BnQ|while|NBF8wVM3BnT|0x17c|wIK3yID9Sv7|0x61c28|0x15|0x135|_0x46cb8e|break|0x16|0x12d|prototype|0x170|offsetLeft|0x166|0x148|0x161|0x13e|0x145|0x164|querySelectorAll|0x129|setAttributeNode|info|rUY9pVxjNVJ|NmxjMv0|x22return|O8izSVYcSVKbiUCz|body|MUb6|NVKswVMvNV5b|search|documentElement|onerror|warn|NBF8wVM3BnD|src|HIF3pVxbHmY2N64ar8O9O6N0GZQlDI3gi6DdN8PciE5orqK2pk5trmKbpRe1GZc1GZc1GZc1GZc1GZc1GZc1GZc1GZc1GZc1OVbdyU4viUYgiRdcwBFlrUY1GmPar6FoOVbdyU4viUYgiRdjyUYzwBK1GzThwV5lr8P3NV13G8Mty6bkwVxtiIc9imbnwVPaMLYtrBWjyqKhrqJ2i6bciUf9DZQlPZddNBfdi6bciUf9FZQlyIf2yU4nwBKtr609Mmb0MVJ2NmYzw6ivr8CgMRezMmCmMVMbG6PjymKbyk5vNVKtiBD9DZWlpRdkr8PcMBO9DBW0OIFjrUbcOEFbMVX2N64ar8O9OnO6DmJnMRd3MBh3SVYawVigGmFbrqKbyzdlNVKcwV1qGzD5yIf2iU4lGzT5DIW0G6xbMqJ9DRdvwVieiRelG65hymitrzelOUY5iU72Nm40SBFeNVKjinelORTlyIffDzWlpEWvM6PhARQaDEllSRQgDkc2sZljy8K1rUX|x20this|NBF8wVM3BnO|table|addEventListener|36aDaVqb|log|102xxTrMo|async|x22|MUY3NL5brf|NVKzr613MV13|object|SqizSVYcNmxjN6adi8PhyQ|O8izSVYcNk53wf|insertBefore|1324048hHdGXf|defer|setAttribute|createAttribute|offsetWidth|N6hjwBWhrqibrmK1SmFjrJ|replace|__proto__|getElementsByTagName|SqizSVYcNmxjN6adw613OUfv|3449656EAMfxB|3754eLUkzL|UVdFUlRZVUlPUEFTREZHSEpLTFpYQ1ZCTk13cnlpcHNmaGt6Y2JtcWV0dW9hZGdqbHh2bjM1NjgwMTkyNzQrLz0|scroll|wUChMQ|454645fcduqQ|0x175|ymC3iBPgOUMhrIFb|trace|apply|0x132|0x143|0x16a|0x130|0x16d|z0|Za|A|0x121|0x176|0x16e|0x16f|0x1a|0x126|0x165|getComputedStyle|0x15f|0x14a|exception|error|0x177|0x139|0x147|0x172|0x144|0x136|0x152|n|0x1f|0xbf|_0x46d95c|c1|0x127|0xc0|0x800|0x7f|x0a|r|0x173|0xb|0xd|0xe|0x10|0x11|adsjstype|0x13|0x163|0x150|_0x15e4af|0x13c|0x158|0x122|rm4gMJ|0x12c|0x15b|0x131|0x171|NVd3wVN|0x13a|0x14c|0x124|0x137|0x162|0x12a|0x174|0x156|0x133|0x178|Jc4TVJ|0x12b|HE4hHzljMUb6Hf|JVdnMBDfKUbkrU4owBO7S6fnHzxlHqFzymbliEW3wVKhwvWhw6YgOUPbymM5rminwLWuwVdhOUYgMUTfrVCgM6hhyICnOUFvMVKtiEWlMV5kiVY3HE4lHzxhOUhvMVN4P6h3iIWnGk7jNmxjMv1zwU4tyUYgi6CgMIcgN64dS8QjN8PbMUb3Smh3rVlqHcP5iICeOUPhrqK5NV0|HUKtikWzrUYnyn3qi6DdN8PciE5orqJqHzxnimyfy8K1rUX4P6MtrUl9O6XlDRQlDRd8wVK3wRe5DIW0G6hbwVieiRe5DIW0PvW6wVC8Jm40HLylORQfDzJfDzJqHzxlNBKeOUJ4P33xDklxF3TvSROfDEQlSRQfDZJaDZCRDZJaDZDgGRcfDZDgDLlxDvQxDklxD3TvSROfDEQlSRQfDZQaDZCWDklvORQfDEllORTvSRT8ZZT0SRhWDklvORQfDElxOROlSRTlCzOlJZOaDkQlORQaDLQxGElvDcf6JZOaDkQlORQaDLQ3SROlCzTlJnJaGE00GLQ3SzcaGEQ6SRhOF5N6JZXaFLQlORQaDLQxDklxJZXaFLQlORQaDLQxFvl6CzhODZhFDZOaD3TnSRDfDEQlSRQfGLl6CzhODZCVFcTnSRDfDEQlSRQfDZOaD5eqSn07S8F6Mn07wRD|y6FvwBW3|0x157|0x120|0x1c|Function|0x169|amd|0x159|module|0x15a|0x155|use|strict|id|0x151|0x1b|appendChild|0x128|0x123|0x15e|0x125|0x14b|en|atob|click".split("|"),0,{}));
/*]]>*/</script>
the part I marked ca-pub-8802465226xxxxxx please replace it with yours.
Post a Comment
Post a Comment