-->

4 Kode Script Anti AdBlock Killer & Cara Memasangnya di Blogger

Tutorial: Tips & Trik Cara Membuat, Menambah dan Memasang Kode JavaScript (Js) Anti AdBlock Killer di Blogger/Blogspot

AdBlock merupakan sebuah ekstensi yang berfungsi mematikan, menghilangkan, dan memblokir iklan-iklan yang muncul di situs web; iklan Google AdSense misalnya.

Dengan dihilangkannya iklan-iklan yang tampil di situs web tersebut, maka akses tampilan (loading) untuk membuka halaman situs itu pun semakin cepat dimuat.

4 Kode Script Anti AdBlock Killer & Cara Memasangnya di Blogger

Di satu sisi, AdBlock sangat User-Friendly bagi para pengguna ekstensinya; sayangnya, AdBlock merugikan pihak blogger mana pun.

4 Kode Script Anti AdBlock Killer & Cara Memasangnya di Blogger


Agar tayangan iklan pada blog kamu terus muncul; tidak bisa dihilangkan, di blokir, atau pun disembunyikan; maka gunakan kode anti AdBlock.

Catatan: Ada beberapa kode yang kami tandai dengan warna merah; kode tersebut bisa kamu ubah (ganti) dan/atau sebagai penanda Copyright.

Setidaknya kami memiliki beberapa kode anti AdBlock untuk Blogger yang bisa kamu gunakan; sedangkan untuk WordPress, cukup menggunakan plugin Anti-AdBlock.

#1. Kode Anti AdBlock Killer yang Pertama, Kedua & Ketiga


Masuk ke Blogger, lalu pilih Tata Letak (Layout), kemudian ketuk Add a Gadget (Tambahkan Gadget). Selanjutnya, pilih opsi HTML/JavaScript.

Copy (Salin) semua kode di bawah ini:

<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-300x250-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','-728x90-'],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>

Paste (Tempel) pada kolom HTML/JavaScript yang sudah disediakan tadi. Kemudian simpan dan cek hasilnya.

Jika kode di atas tidak bekerja pada template blogger yang kamu gunakan, coba gunakan kode di bawah ini:

<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-300x250-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','-728x90-'],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>

Jika masih gagal juga, coba gunakan kode yang ada di bawah ini:

<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:80%;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;color: #fff;background: #222;padding: 20px;}#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 AdBlocker!<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-300x250-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','-728x90-'],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>

Jika masih gagal lagi dan lagi, mungkin kode di bawah ini bisa mengatasi masalah kamu:

<style>#g207{position:fixed!important;position:absolute;top:0;top:expression((t=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+"px");z-index:999;left:0;width:100%;height:100%;background-color:#fff;opacity:0.9;filter:alpha(opacity=90);display:block}#g207 p{border:3px solid orange; width:60%; margin:20% auto; background:yellow;padding:10px;border-radius:6px;opacity:1;filter:none;font:bold 16px Verdana,Arial,sans-serif;text-align:center;}#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Ʈ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>Anda menggunakan pemblokir iklan (AdBlocker).<br/>Nonaktifkan AdBlocker Anda agar nyaman membuka web ini</p>','g207')}};(function(){var a=['Adrectangle','PageLeaderAd','ad-column','advertising2','divAdBox','mochila-column-right-ad-300x250-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','-728x90-'],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>

#2. Kode Anti AdBlock yang Ke Empat


Pada poin pertama di atas, kamu diberikan 3 buah kode yang berbeda-beda fungsinya tapi tujuannya tetap sama.

Pada poin No. 2 ini, yang membedakannya hanyalah tempat penyimpanan kodenya saja. Simpan kode di bawah ini, di atas kode </body> kemudian Save template.

&lt;style&gt;#g207{position:fixed!important;position:absolute;top:0;top:expression
((t=document.documentElement.scrollTop?document.documentElement.scrollTop:document
.body.scrollTop)+&quot;px&quot;);left:0;width:100%;height:80%;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;color: #fff;background: #222;padding: 20px;}#g207 p a,#g207 p i{font-size:12px}#g207 ~ *{display:none}&lt;/style&gt;&lt;noscript&gt;&lt;i id=g207&gt;&lt;p&gt;Please enable JavaScript!&lt;br /&gt;Bitte aktiviere JavaScript!&lt;br /&gt;S&#039;il vous pla&amp;icirc;t activer JavaScript!&lt;br /&gt;Por favor,activa el JavaScript!&lt;br /&gt;&lt;a href=&quot;http://antiblock.org/&quot;&gt;antiblock.org&lt;/a&gt;&lt;/p&gt;&lt;/i&gt;&lt;/noscript&gt;&lt;script&gt;(function(w,u){var d=w.document,z=typeof u;function g207(){function c(c,i){var e=d.createElement(&#039;i&#039;),b=d.body,s=b.style,l=b.childNodes.length;if(typeof i!=z){e.setAttribute(&#039;id&#039;,i);s.margin=s.padding=0;s.height=&#039;100%&#039;;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(&#039;g207&#039;)){c(&#039;&lt;p&gt;Please disable your ad blocker!&lt;br/&gt;This site is supported by the advertisement &lt;br/&gt; Please disable your ad blocker to support us!!! &lt;/p&gt;&#039;,&#039;g207&#039;)}};(function(){var a=[&#039;Adrectangle&#039;,&#039;PageLeaderAd&#039;,&#039;ad-column&#039;,&#039;advertising2&#039;,&#039;divAdBox&#039;,&#039;mochila-column-right-ad-300x250-1&#039;,&#039;searchAdSenseBox&#039;,&#039;ad&#039;,&#039;ads&#039;,&#039;adsense&#039;],l=a.length,i,s=&#039;&#039;,e;for(i=0;i&lt;l;i++){if(!g(a[i])){s+=&#039;&lt;a id=&quot;&#039;+a[i]+&#039;&quot;&gt;&lt;/a&gt;&#039;}}c(s);l=a.length;for(i=0;i&lt;l;i++){e=g(a[i]);if(e.offsetParent==null||(w.getComputedStyle?d.defaultView.getComputedStyle(e,null).getPropertyValue(&#039;display&#039;):e.currentStyle.display)==&#039;none&#039;){return f(&#039;#&#039;+a[i])}}}());(function(){var t=g(0,&#039;img&#039;),a=[&#039;/adaffiliate_&#039;,&#039;/adops/ad&#039;,&#039;/adsales/ad&#039;,&#039;/adsby.&#039;,&#039;/adtest.&#039;,&#039;/ajax/ads/ad&#039;,&#039;/controller/ads/ad&#039;,&#039;/pageads/ad&#039;,&#039;/weather/ads/ad&#039;,&#039;-728x90-&#039;],i;if(typeof t[0]!=z&amp;&amp;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+&#039;#&#039;+a.join(&#039;&#039;)};i.src=t[0].src}}());(function(){var o={&#039;http://pagead2.googlesyndication.com/pagead/show_ads.js&#039;:&#039;google_ad_client&#039;,&#039;http://js.adscale.de/getads.js&#039;:&#039;adscale_slot_id&#039;,&#039;http://get.mirando.de/mirando.js&#039;:&#039;adPlaceId&#039;},S=g(0,&#039;script&#039;),l=S.length-1,n,r,i,v,s;d.write=null;for(i=l;i&gt;=0;--i){s=S[i];if(typeof o[s.src]!=z){n=d.createElement(&#039;script&#039;);n.type=&#039;text/javascript&#039;;n.src=s.src;v=o[s.src];w[v]=u;r=S[0];n.onload=n.onreadystatechange=function(){if(typeof w[v]==z&amp;&amp;(!this.readyState||this.readyState===&quot;loaded&quot;||this.readyState===&quot;complete&quot;)){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(&#039;load&#039;,g207,false)}else{w.attachEvent(&#039;onload&#039;,g207)}})(window);&lt;/script&gt;

Bagaimana? Ada kode Script anti AdBlock yang bermasalah, atau tidak work mungkin?

Demikian tutorial tips dan trik bagaimana cara membuat dan memasang kode JavaScript anti AdBlock untuk Blogger/Blogspot. Ada yang mau ditanyakan?

Source:
http://notesandsoft.blogspot.com/2013/08/how-to-add-anti-adblock-script-into.html
https://www.contohblog.com/2014/12/Cara-Pasang-Kode-Script-Anti-Adblock-Blog-Blogspot.html
http://whowantstuffs.blogspot.com/2015/01/anti-adblock-script-for-blogger.html
https://www.contohblog.com/2017/08/cara-memasang-kode-script-anti-adblock.html

Labels: Tutorial Google AdSense

Thanks for reading 4 Kode Script Anti AdBlock Killer & Cara Memasangnya di Blogger. Please share this article.

Daftarkan email kamu sekali saja, maka kamu akan mendapatkan artikel gratis di setiap harinya. Subscribe Now!

0 Response to "4 Kode Script Anti AdBlock Killer & Cara Memasangnya di Blogger"

Post a Comment

Punya masalah? Hubungi kami di Pemecah Masalah.
Silakan bertanya secara spesifik agar kami mudah dalam menjawabnya :)

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

SEO Kraken Blogger Theme