clickio

ottopagine.it skinz backup mirror

Apr 19th, 2021
822
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!-- Backup code -->
  3. <script>
  4. var parentWindow = window.parent;
  5. parentWindow.postMessage("cl_mirror_enable", "*");
  6. </script>
  7.  
  8.  
  9.  
  10. <!-- Code inside body tag -->
  11. <script>
  12. (function(){
  13.     function receiveMessage(event)
  14.     {
  15.       if (event.data == "cl_mirror_enable")
  16.           clAddMirrorSticky();
  17.     }
  18.     window.addEventListener("message", receiveMessage, false);
  19.      
  20.     function clAddMirrorSticky() {
  21.         var s = document.currentScript;
  22.      
  23.         function showCode(parentSelector, parentWindow, code, divId) {
  24.             var div = document.createElement('div');
  25.             if (divId) div.id = divId;
  26.             var divForScripts = document.createElement('div');
  27.             divForScripts.innerHTML = code;
  28.             div.appendChild(divForScripts);
  29.             var p = parentWindow.document.querySelector(parentSelector);
  30.             p.appendChild(div);
  31.             var scripts = divForScripts.getElementsByTagName("script");
  32.             Array.from(scripts).forEach(function(script, index, array) {
  33.                 var newScript = document.createElement('script');
  34.                 if(script !== s)
  35.                 {
  36.                     if(typeof script.src !== "undefined" && script.src && script.sr !== "")
  37.                    {
  38.                        newScript.src = script.src;
  39.                         newScript.className = script.className;
  40.                         div.appendChild(newScript);
  41.                     }
  42.                     else
  43.                     {
  44.                         var data = (script.text || script.textContent || script.innerHTML || "");
  45.                         newScript.className = script.className;
  46.                         newScript.type = script.type;
  47.                         newScript.appendChild(document.createTextNode(data));
  48.                         div.appendChild(newScript);
  49.                     }
  50.                     divForScripts.removeChild(script);
  51.                 }
  52.             });
  53.      
  54.             div.removeChild(divForScripts);
  55.         }
  56.         var adUnitCode = "<scr" + "ipt async type='text/javascript' src='//s.clickiocdn.com/t/221211/360_light.js'><\/scr" + "ipt>" +
  57.                 "<scr" + "ipt class='__lxGc__' type='text/javascript'>" +
  58.                 "((__lxGc__=window.__lxGc__||{'s':{},'b':0})['s']['_221211']=__lxGc__['s']['_221211']||{'b':{}})['b']['_679212']={'i':__lxGc__.b++};" +
  59.                 "<\/scr" + "ipt>";  // code to insert
  60.      
  61.         showCode('body', window, adUnitCode, 'clickio_sticky_wrapper');
  62.     }
  63. })();
  64. </script>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×