Cara Memasang Anti AdBlock di Blogger Ala Igniel

Cara Memasang Notifikasi Anti AdBlock Di Blog

AdBlock adalah ekstensi browser yang berfungsi mencegah iklan untuk muncul. Tujuan instalasi Adblock biasanya agar pengunjung bisa membaca artikel dengan nyaman tanpa perlu melihat iklan yang berseliweran.

Bagi publisher AdSense dan pemilik blog, hal ini bisa menjadi masalah karena salah satu penghasilan utama sebagai blogger adalah dari iklan tersebut. Jika iklan tidak tampil, maka tidak ada penghasilan yang masuk. Karenanya perlu dilakukan satu cara untuk mencegar AdBlock menghalangi munculnya iklan. Pada tutorial ini akan dijelaskan cara memasang script anti AdBlock terbaru di blog versi igniel.com. Nantinya akan tampil notifikasi kepada pengunjung untuk mematikan ekstensi AdBlock atau memasukkan URL blog kamu ke dalam whitelist.

Sebelum itu, ada baiknya kamu cek dulu Cara Menulis Script AdSense Yang Efisien Tanpa Perlu Parse atau Diulang agar struktur HTML tidak berantakan ketika memasang kode iklan.

Cara Memasang AdBlock Killer Di Blog

Cari kode Javascript external AdSense ini dan HAPUS. Biasanya posisinya ada "DI ATAS / SEBELUM" </head>.
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Jangan khawatir, karena pemanggilan Javascript eksternal itu diganti dengan script berikut. Simpan "DI ATAS / SEBELUM" </body> ya.
<script> //<![CDATA[
/* Anti AdBlock By igniel.com */
(function ignielAdBlock() {
  var judulAd = 'Matikan AdBlock', /* Judul */
      notifAd = 'Agar blog Igniel tetap berjalan, matikan AdBlock atau masukkan blog ini ke dalam whitelist.<br/>Terima kasih.'; /* Isi tulisan. Garis baru diganti dengan <br/> */
      eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c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\\e\\N\\a\\I\\d\\p\\e\\h\\e\\H\\Q\\d\\t\\p\\G\\e\\h\\Q\\d\\t\\p\\U\\a\\I\\d\\p\\e\\G\\Q\\d\\t\\p\\h\\t\\a\\H\\a\\I\\d\\p\\e\\G\\t\\a\\h\\a\\I\\d\\p\\e\\U\\Q\\d\\t\\p\\G\\a\\I\\d\\p\\e\\h\\e\\1g\\A\\x\\y\\r\\q\\g\\n\\S\\x\\y\\r\\f\\z\\v\\x\\y\\F\\o\\r\\x","\\y\\r\\j\\k\\z\\x","\\g\\q\\q\\c\\m\\j","\\F\\l\\j\\B","\\l\\z\\c\\o\\1e\\s\\l\\W","\\f\\n\\B\\s\\c","\\S\\k\\j\\j\\c\\m","\\g\\j\\F\\s\\l\\w\\X","\\v\\c\\n\\V\\s\\c\\K\\c\\m\\n\\f\\J\\B\\1c\\g\\v\\Y\\g\\K\\c","\\k\\m\\f\\c\\o\\n\\J\\c\\1e\\l\\o\\c","\\q\\g\\o\\c\\m\\n\\Y\\l\\j\\c"];O D=E[b[1]](b[0]);D[b[2]]=b[3];D[b[4]]=b[5];D[b[6]]=1d;D[b[7]]=1k(){O M=E[b[1]](b[8]);M[b[9]]=b[10];M[b[11]]=b[12]+1m+b[13]+1j+b[14];E[b[16]][b[15]](M);E[b[16]][b[18]][b[17]]=b[19];1f[b[1i]]=1d};O T=E[b[1l]](b[0])[0];T[b[1h]][b[1n]](D,T)',62,86,'||||||||||x31|_0xd5a9|x65|x2E|x33|x73|x61|x2C|x20|x64|x69|x6F|x6E|x74|x72|x37|x70|x2F|x6C|x32|x30|x67|x63|x3E|x3C|x76|x22|x79|x41|ad|document|x62|x4C|x48|x35|x42|x6D|x3D|_0xc9cbx2|x4D|var|x6A|x38|x34|x68|b_ad|x56|x45|x77|x6B|x4E|x36|||||||||||x78|x75|x54|true|x66|window|x5A|23|20|notifAd|function|21|judulAd|22'.split('|'),0,{}));
})();
//]]> </script>

Selanjutnya percantik tampilan AdBlock Killer di blog dengan menambahkan CSS berikut. Simpan kodenya "DI ATAS / SEBELUM" </style>. Jika </style> ada banyak, pastikan memilih yang "DI LUAR" tag kondisional halaman Blogger.
/* Anti AdBlock By igniel.com */
#ignielAdBlock {background:rgba(0,0,0,0.85);padding:0;position:fixed;bottom:0;left:0;top:-100px;right: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:#e74c3c;color:#fff;position:absolute;text-align:center;padding:0 30px 30px 30px;margin:auto;top:30%;left:0;right:0;font-size:1.5rem;font-weight:400;line-height:1.5em;font-family:monospace;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;right: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)}
@keyframes ignielWobble{0%{transform:scale(0) rotate(-54deg) translatey(40px)}45%{transform:scale(1.1) rotate(20deg) translatey(0px)}60%{transform:scale(1) rotate(-15deg) translatey(0px)}77%{transform:scale(1) rotate(10deg) translatey(0px)}100%{transform:translatey(0)}}
@-webkit-keyframes ignielWobble{0%{transform:scale(0) rotate(-54deg) translatey(40px)}45%{transform:scale(1.1) rotate(20deg) translatey(0px)}60%{transform:scale(1) rotate(-15deg) translatey(0px)}77%{transform:scale(1) rotate(10deg) translatey(0px)}100%{transform:translatey(0)}}
@-moz-keyframes ignielWobble{0%{transform:scale(0) rotate(-54deg) translatey(40px)}45%{transform:scale(1.1) rotate(20deg) translatey(0px)}60%{transform:scale(1) rotate(-15deg) translatey(0px)}77%{transform:scale(1) rotate(10deg) translatey(0px)}100%{transform:translatey(0)}}

Begini tampilan notifikasi popup anti Adblock jika sukses terpasang. Pesan ini hanya akan muncul jika pengunjung mengaktifkan AdBlock atau belum memasukkan blog kamu ke dalam whitelist.
Cara Pasang AdBlock Killer Versi Terbaru di Blogger

Sekian tutorial kali ini. Semoga bisa sedikit bermanfaat.

Artikel Terkait

55 komentar

Ikuti format penulisan berikut untuk menyisipkan elemen tambahan.
  • Menulis kode gunakan <i>kode</i>
  • Menulis dalam syntax highlighter gunakan <em>kode panjang</em>
  • Menyisipkan gambar gunakan <strong>URL GAMBAR</strong>
  • nobinubi
    17/2/22
    Profil: https://www.blogger.com/profile/00624978544711414250
    di template textrim, browser chrome pake Adguard Adblocker, notifnya ga mau muncul. jd cuman layar item doank kak..
  • Enjeru
    25/9/21
    Profil: https://www.blogger.com/profile/13362471456295839143
    saya coba pasang tetapi tidak ada muncul harus aktifkan adblock, hanya muncul hitam saja. bisa dibantu solusinya?
    • TheDevil
      18/11/21
      Profil: https://www.blogger.com/profile/09948233332333366621
      same
    • nobinubi
      17/2/22
      Profil: https://www.blogger.com/profile/00624978544711414250
      podo.. aku pake adguard adblocker juga gitu. tp klo adblocker lain, muncul notifnya
  • Ardi Nurhidayanto
    12/8/21
    Profil: https://www.blogger.com/profile/07792933535797142084
    Tag kondisional maksudnya bagaimana mas?
  • Bapak Budi
    20/6/21
    Profil: https://www.blogger.com/profile/09130426674640281322
    sukses, terima kasih suhu
  • Ady NR
    25/4/21
    Profil: https://www.blogger.com/profile/05911192362760357216
    Kalo di wordpress gimana min?
  • Rubah bulan
    21/1/21
    Profil: https://www.blogger.com/profile/12104611664884459596
    Saya coba blog mbak, di firefox gak muncul, tapi kolo di maxthon muncul, aneh
  • Rubah bulan
    10/12/20
    Profil: https://www.blogger.com/profile/12104611664884459596
    La terus kenapa gak diterapin di blog
  • _kcgbln
    5/11/20
    Profil: https://www.blogger.com/profile/18241577037189983816
    Sudah enggak work mbak
  • SAZFHI ID
    1/11/20
    Profil: https://www.blogger.com/profile/02118574124823778570
    Lapor. Browser Brave gak mempan adblocknya
    • SAZFHI ID
      1/11/20
      Profil: https://www.blogger.com/profile/02118574124823778570
      *anti adblocknya
  • Blogger
    29/10/20
    Profil: https://www.blogger.com/profile/11081735190432454402
    Kak, kalau ditambah tanda silang bagaimana ? Jadi pengunjung diberi pilihan antara mematikan adblock atau tidak..minta tolong tutornya donk 🙏
  • Mitake ran
    7/10/20
    Profil: https://www.blogger.com/profile/03812929928615119017
    Serius Nanya ini masih work gak mba?
  • Animblo
    28/7/20
    Profil: https://www.blogger.com/profile/04054982128470710850
    mantap ... tampilannya bagus mbak
  • Rdk
    8/7/20
    Profil: https://www.blogger.com/profile/03393421488347670449
    terima kasih dan sudah saya terapkan, sukses selalu buat mbak igniel
  • Zid
    30/6/20
    Profil: https://www.blogger.com/profile/07243602356613500969
    Permisi mbak, mungkin lebih bagus kalau script ini ditambah fitur "sembunyikan konten" seperti yang ada di artikel Non javascript.
  • Om Admin
    3/6/20
    Profil: https://www.blogger.com/profile/05045821829910483327
    ga work gan. saya pakai ublock origin web agan masih bisa diliat.
  • Saif Ghofur
    23/5/20
    Profil: https://www.blogger.com/profile/04924137136364466463
    saya coba pake lalu saya cek di page speed turun 40 mbk nilainya,
    tanpa adblock 90 lalu dipasang jd 50, template nya textrim mbk
  • Bigo Lover Mania
    11/5/20
    Profil: https://www.blogger.com/profile/12040400544754964221
    udah ane coba gan. tapi kok buat andro g mempan? solusi gan
    • Rubah bulan
      10/12/20
      Profil: https://www.blogger.com/profile/12104611664884459596
      Pakai tema responsif jangan bawaan bloger
  • Bursa Diskon
    15/4/20
    Profil: https://www.blogger.com/profile/05602997235356258344
    Misi gan mau tanya. Saya pake template igniel, nah ketika pasang script iklan baik itu iklan MGiD, Adsense, Adsterra dll tidak muncul. Kenapa ya, tidak meloading.
  • Louis Ojibe
    10/4/20
    Profil: https://www.blogger.com/profile/01012467065766091328
    Not working
    • Igniel
      10/4/20
      Profil: https://www.blogger.com/profile/09199170379661896200
      It works perfectly.
  • Rudianto
    25/2/20
    Profil: https://www.blogger.com/profile/00583834957050590029
    keren
  • riva
    23/2/20
    Profil: https://www.blogger.com/profile/16695886426006539508
    Template saya kok ga ada kode adsby google ya mba gmn tuu
  • riva
    23/2/20
    Profil: https://www.blogger.com/profile/16695886426006539508
    Kok ga work ya mbak ..pdahal udah ikutin cara di atas
  • LogoGratis.id
    13/1/20
    Profil: https://www.blogger.com/profile/03407968918070301292
    mantab thanks gan infonya :)
  • IanM
    18/12/19
    Profil: https://www.blogger.com/profile/04168398916159273338
    Aktif Mbak thanks yah, saya test di android pakai browser adblock berfunsi dengan baik :)
  • KaisarAndroid
    26/11/19
    Profil: https://www.blogger.com/profile/02855862699790721090
    kan ada ID adsen juga tuh di adsbygoogle.js apakah di hapus jg?
  • Unknown
    10/11/19
    Profil: https://www.blogger.com/profile/16440511346306832133
    cara ganti font nya gimana?
  • Mas Dejay
    14/9/19
    Profil: https://www.blogger.com/profile/12991200391127524245
    terima kasih🙏
  • Anonim
    Anonim 8/9/19
    Libur blogging, ayo muncak mbak😂
  • Munir
    25/5/19
    Profil: https://www.blogger.com/profile/15000904957935300437
    Blognya bagus
  • syzm
    21/5/19
    Profil: https://www.blogger.com/profile/17794550545149434042
    Bagaimana kalau pertanyaannya.. biar adblock tidak bisa mendeteksi iklan kita. Terus terang saya pakai adblock pas masuk igniel.com tapi kenapa bisa lolos?
  • Sahrul Parawie
    10/4/19
    Profil: https://www.blogger.com/profile/02077545965300180060
    Mantab .. terima kasih mbak igniel
  • Top Gadget Indonesia
    13/3/19
    Profil: https://www.blogger.com/profile/14932045704187137301
    Mbak Igniel, apakah dengan memasang script AdBlock ini, loading blog jadi berat?
    • Igniel
      13/3/19
      Profil: https://www.blogger.com/profile/09199170379661896200
      Tidak berat
  • Penyebar Gosip
    27/2/19
    Profil: https://www.blogger.com/profile/09514599970579379592
    Ini ga pake async kah? Ada ga script yg pake ascync? Thanks
    • Igniel
      27/2/19
      Profil: https://www.blogger.com/profile/09199170379661896200
      Pake async.
  • Ryto
    10/2/19
    Profil: https://www.blogger.com/profile/02229102586868167128
    kenapa kok iklan tautan tidak muncul?? tpi iklan bergambar muncul
  • Unknown
    5/1/19
    Profil: https://www.blogger.com/profile/07814651311969091712
    maaf min kok pas ane coba di Uc Browser gk work,semua udah benar dan tepat sesuai arahan admin, https://www.duarebu.com
    • Wisnu Tri Wijaksono
      8/9/20
      Profil: https://www.blogger.com/profile/02260459702244875195
      iyalah, uc browser itu adblocknya memang ngeselin
    • Rubah bulan
      10/12/20
      Profil: https://www.blogger.com/profile/12104611664884459596
      Pake Browser Pintar baru bisa
    • Sakukurata
      22/1/21
      Profil: https://www.blogger.com/profile/14282057837304352647
      Saya pakai maxthon bisa
    • Unknown
      27/1/21
      Profil: https://www.blogger.com/profile/05520835979388837458
      Kuat bener adblock nya uc
  • Chapteria
    14/12/18
    Profil: https://www.blogger.com/profile/09838961540189264270
    Thanks mbak igniels! work! sudah sy terapkan di web saya :))
  • Unknown
    1/12/18
    Profil: https://www.blogger.com/profile/08226983345184617601
    mas igniel infonya dong pemasangan adblock di amp & Pemasangan Anti Bomklik Di amp ,Saya gak nemu di Google
    • Rick Andrean John
      15/12/18
      Profil: https://www.blogger.com/profile/09859331481553005321
      Dia cewe, bkn mas
  • IsmyNR
    8/11/18
    Profil: https://www.blogger.com/profile/14897548564733452726
    Yang bagian dari script adsense itu dihapus gak bermasalah apa apa?
    • Igniel
      8/11/18
      Profil: https://www.blogger.com/profile/09199170379661896200
      Gak apa-apa.
  • [ADMIN] Subarashi Film
    22/10/18
    Profil: https://www.blogger.com/profile/03553205255818123570
    gak work gan
    • Igniel
      22/10/18
      Profil: https://www.blogger.com/profile/09199170379661896200
      Work kalo pasangnya bener.
  • Enjoe
    11/8/18
    Profil: https://www.blogger.com/profile/07776906850106309693
    yang gake pake javascript pemanggil adsense ada?
    • Igniel
      11/8/18
      Profil: https://www.blogger.com/profile/09199170379661896200
      Maksudnya?