Membuat Box Download Kusonime + Adblock

Rasgane - Blogger Template
Get Started > Details
  • Details
  • Install

Request KangBatch

Cara meng-install.

  • Salin kode CSS ini.

    #dl-notif{font-size:15px;font-weight:600;color:#fff;padding:8px 10px;background:red;text-align:center}
    #dl{display:none}
    .dl-show{display:block!important}
    .smokeddlrh{font-size:11px;padding:5px;font-weight:600;background:#f1f1f1}
    .smokeddlrh .smokettlrh{padding:8px 10px;color:#fff;background:#103457}
    .smokeddlrh .smokeurlrh{margin-top:3px;padding:5px 10px;color:#555;background:#fff;border-bottom:1px solid #ddd}
    .smokeurlrh strong{background:#333;padding:3px;border-radius:2px;color:#fff;margin-right:5px}
    .smokeddlrh .smokeurlrh a{color:#555}
  • Salin kode HTML ini.

    <div class="dlbodz">
      <div id="wrapfabtest">
        <div class="advertiseText"></div>
      </div>
      <div id="dl" class="dl-show">
        <div class="smokeddlrh">
          <div class="smokettlrh">Download Judul Anime Batch Subtitle Indonesia</div>
          <div class="smokeurlrh">
            <strong>360P</strong> 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Sharer</a> | 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Drive</a> | 
            <a href="#" target="_blank" rel="noopener">Pixeldrain</a> | 
            <a href="#" target="_blank" rel="noopener">Terabox</a> | 
            <a href="#" target="_blank" rel="noopener">Hxfileco</a> | 
            <a href="#" target="_blank" rel="noopener">Mega.nz</a> | 
            <a href="#" target="_blank" rel="noopener">Hexload</a>
          </div>
          <div class="smokeurlrh">
            <strong>480P</strong> 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Sharer</a> | 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Drive</a> | 
            <a href="#" target="_blank" rel="noopener">Pixeldrain</a> | 
            <a href="#" target="_blank" rel="noopener">Terabox</a> | 
            <a href="#" target="_blank" rel="noopener">Hxfileco</a> | 
            <a href="#" target="_blank" rel="noopener">Mega.nz</a> | 
            <a href="#" target="_blank" rel="noopener">Hexload</a>
          </div>
          <div class="smokeurlrh">
            <strong>720P</strong> 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Sharer</a> | 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Drive</a> | 
            <a href="#" target="_blank" rel="noopener">Pixeldrain</a> | 
            <a href="#" target="_blank" rel="noopener">Terabox</a> | 
            <a href="#" target="_blank" rel="noopener">Hxfileco</a> | 
            <a href="#" target="_blank" rel="noopener">Mega.nz</a> | 
            <a href="#" target="_blank" rel="noopener">Hexload</a>
          </div>
          <div class="smokeurlrh">
            <strong>1080P</strong> 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Sharer</a> | 
            <a href="#" target="_blank" rel="noopener noreferrer">Google Drive</a> | 
            <a href="#" target="_blank" rel="noopener">Pixeldrain</a> | 
            <a href="#" target="_blank" rel="noopener">Terabox</a> | 
            <a href="#" target="_blank" rel="noopener">Hxfileco</a> | 
            <a href="#" target="_blank" rel="noopener">Mega.nz</a> | 
            <a href="#" target="_blank" rel="noopener">Hexload</a>
          </div>
        </div>
      </div>
    </div>
  • Salin kode Javascript ini.

    function init() {
      var request = new Request("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
        method: "HEAD",
        mode: "no-cors"
      });
    
      fetch(request)
        .then(function(response) {
          console.log("Ad-blocker Enabled: false");
        })
        .catch(function(error) {
          console.log("Ad-blocker Enabled: true");
          var mainWrp = document.querySelector(".dlbodz");
          if (mainWrp) {
            mainWrp.insertAdjacentHTML('afterend', `<div id="dl-notif">Matikan ADBLOCK untuk melihat link download</div>`);
            mainWrp.parentNode.removeChild(mainWrp);
          }
        });
    }
    setTimeout(init, 0);
Referensi :
https://code.ruidrive.com/2024/02/membuat-anti-adblock-yang-dapat-sembunyikan-elemen.html

Comments