clickio

znotes.org SPA ad units

Jun 9th, 2021 (edited)
554
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(w){
  2.     (w.__lxGc__=w.__lxGc__||{'s':{},'b':0}).cmd=w.__lxGc__.cmd||[];
  3.     __lxGc__.cmd.push(function(){
  4.         __lxGc__.display('cl_mobile_sticky', '_222294', '_673313');
  5.         __lxGc__.display('cl_desktop_sticky', '_222294', '_673319');
  6.         __lxGc__.display('cl_interstitial', '_222294', '_673317');
  7.     });
  8.     w.__clickio_INTERSTITIAL_installed = w.__clickio_INTERSTITIAL_installed || false;
  9.     if (w.__clickio_INTERSTITIAL_installed) {return false;}
  10.     function isMobile() {
  11.         return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?true:false;
  12.     }
  13.     if (isMobile()) {
  14.         w.googletag = w.googletag || {cmd: []};
  15.         googletag.cmd.push(function () {
  16.             var slot = googletag.defineOutOfPageSlot(
  17.                 ' /45470634/clickio_area_673317_300x600 '.trim(),
  18.                 googletag.enums.OutOfPageFormat.INTERSTITIAL);
  19.             if (slot) {
  20.                 w.__clickio_INTERSTITIAL_installed = true;
  21.                 slot.addService(googletag.pubads());
  22.                 googletag.enableServices();
  23.                 googletag.display(slot);
  24.             }
  25.         });
  26.      }
  27. })(window);
RAW Paste Data