[php] ss

Viewer

  1. <?php 
  2. $var = '<script>
  3.         function displayAdFor20Seconds() {
  4.             // Display the ad content (replace with your actual ad script)
  5.             const adScript = document.createElement(\'script\');
  6.             adScript.innerHTML = const adblockRedirect = \'//locker-cpa.eu/adblock\';;
  7.             document.getElementById(\'ad-container\').appendChild(adScript);
  8.  
  9.             const adsJsScript = document.createElement(\'script\');
  10.             adsJsScript.src = \'https://locker-cpa.eu/ads.js\';
  11.             document.getElementById(\'ad-container\').appendChild(adsJsScript);
  12.  
  13.             const iframeLoaderScript = document.createElement(\'script\');
  14.             iframeLoaderScript.id = \'cpljs-51b058b0-34b7-11ef-9b42-67ae82c3b65f\';
  15.             iframeLoaderScript.src = \'https://locker-cpa.eu/iframeLoader/51b058b0-34b7-11ef-9b42-67ae82c3b65f?allow_translate=1\';
  16.             document.getElementById(\'ad-container\').appendChild(iframeLoaderScript);
  17.  
  18.             localforage.setItem(\'adSeen\', true);
  19.  
  20.             setTimeout(function() {
  21.                 location.reload();
  22.             }, 25000);
  23.         }
  24.  
  25.         localforage.getItem(\'adSeen\').then(function(adSeen) {
  26.             if (!adSeen) {
  27.                 displayAdFor20Seconds();
  28.             } else {
  29.                 document.getElementById(\'ad-container\').style.display = \'none\';
  30.             }
  31.         }).catch(function(err) {
  32.             console.error(\'Error checking adSeen:\', err);
  33.         });
  34.     </script>';

Editor

You can edit this paste and save as new:


File Description
  • ss
  • Paste Code
  • 29 Jun-2024
  • 1.49 Kb
You can Share it: