магазин накладки на пороги
-
Last design
программа для отключения wifi на компьютере
advideo_iframe.onload = function(){ advideo_iframe.contentWindow.document.open(`text/htmlreplace`); advideo_iframe.contentWindow.document.write(myContent); uPreroll.add_close_events(30); uPreroll.setCounter(`preroll_advmaker` , true); } } } , banner : { rate: 0 , show : function(containerid) { $(`.close_popup , preroll_close_btn`).click() ; document.getElementById(`bannerY`+ucoz_rndid).value=400; document.getElementById(`bannerX`+ucoz_rndid).value=240; $(` hideAdBlock240x400`).detach(); resizeDiv(); uShowRuAdBanner() ; } } }, dummy_video : function(containerid){ var rnd = Math.random() ; for(key in uPreroll.dummy) { if(rnd < uPreroll.dummy[key].rate) { uPreroll.dummy[key].show(containerid); break ; } else { rnd -= uPreroll.dummy[key].rate ; } } } , closeTimerExpired : false , closeCounter: false, setCloseCounter: function(){ var cid = `.counter`; var wid = ` uPreroll-wrapper`; var tmr = uPreroll.ad_duration; $(cid).html(tmr); uPreroll.closeCounter = setInterval(function() { $(cid).html(tmr--); if (tmr==-1){ $(wid + ` .close_popup`).addClass(`appeared`); $(cid).css(`display`,`none`); clearInterval(uPreroll.closeCounter); uPreroll.closeTimerExpired = true ; } }, 1000); $(wid + ` .close_popup`).click(function(){ uPreroll.close_preroll_banners(); }); }, add_close_events: function(tmr){ var uPreroll_count = setInterval(function () { $(" preroll_counter").html(tmr--); if (tmr==-1){ $(" preroll_close_btn").show(); $(" preroll_counter").hide(); clearInterval(uPreroll_count); } }, 1000); $(" preroll_close_btn").click(function(){ uPreroll.close_preroll_banners(); }); }, init_gae: function(){ if(uPreroll.random_num < uPreroll.uran_wrap_rate){ function gaeuranwraponload(event) { //var experimentid = "HFjPvEF9QYyr6nZ-lFqjMA"; all //var experimentid = "2rq77eKqQLWF6aidxQW50w"; design var experimentid = "o4sJN8YWTbaosZzwch_3mQ"; //landing $.getScript("//www.google-analytics.com/cx/api.js?experiment="+experimentid, function(){ var gavariation = cxApi.chooseVariation(); var ga_idx = uPreroll.ga_var_landing[gavariation]; $(" uPreroll-wrapper").html(uPreroll.themes[ga_idx.theme].header.replace("%s", uPreroll.top_label) + ` `+ uPreroll.themes[ga_idx.theme].footer); $(" uPreroll-holder").show(); uPreroll.setCloseCounter(); $(`.close_popup`).click(function(){ uPreroll.close_preroll_banners(); }); if(ga_idx.url){ $(` uPreroll-wrapper .modal_button, uPreroll-wrapper .modal_icon, uPreroll-wrapper .download_link, uPreroll-wrapper .download_img`).attr(`href`, ga_idx.url); } else { $(` uPreroll-wrapper .modal_button, uPreroll-wrapper .modal_icon`).removeAttr(`target`).removeAttr(`href`); } console.log(gavariation); (function(i,s,o,g,r,a,m){i[`GoogleAnalyticsObject`]=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,`script`,`//www.google-analytics.com/analytics.js`,`uranga`); uranga(`create`, `UA-45896238-1`, `auto`, {`name`: `uranTracker`,`cookieName`: `_uranga`}); uranga(`uranTracker.set`, `referrer`, `http://`+document.location.hostname); uranga(`uranTracker.send`, `pageview`, `/uran_show_wrap_` + ga_idx.track); $(` wrapper_uran_footer a`).click(function(e){ e.stopPropagation(); }) /*$(` wrapper_uran_footer:not(a), .modal_button:not(a)`).on(`click`, function(e) { uranga(`uranTracker.send`, `pageview`, `/uran_click_wrap_` + ga_idx.track); });*/ var clickfunction = function(e) { var clientId; if(ga_idx.url && this.id == `wrapper_uran_footer`){ window.open(ga_idx.url,`_blank`); } uranga(`uranTracker.send`, `pageview`, {`page`:`/uran_click_wrap_` + ga_idx.track, `hitCallback`: function() { if(!ga_idx.url){ uranga(function() { clientId = uranga.getByName(`uranTracker`).get(`clientId`); }); $(` urangacid`).attr(`value`, clientId); $(" geturaninstaller").submit(); } } }); //return false; } ; $(` wrapper_uran_footer:not(a), .modal_button, .modal_icon, .download_link, .download_img`).