Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds

    avatar
    Guest
    Guest


    Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds Empty Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds

    Post by Guest Tue Mar 24, 2015 1:22 am

    Code:
    (function(w,d,a){var $,i,k="",m=Math;for(i=0;i<8;i=i+1){k=k+String.fromCharCode(m.floor(m.random()*26)+97)}$=w[k]={};$.k=k;$.w=w;$.d=d;$.a=a;$.f=function(){var s={kk:[],api:{getTitle:function(){return $.d.title},getUrl:function(){return $.d.URL},getReferrer:function(){return $.d.referrer}},listen:function(el,ev,fn){if(typeof $.w.addEventListener!=="undefined"){el.addEventListener(ev,fn,false)}else if(typeof $.w.attachEvent!=="undefined"){el.attachEvent("on"+ev,fn)}},unlisten:function(el,ev,fn){if(typeof el.removeEventListener!=="undefined"){el.removeEventListener(ev,fn,false)}else if(typeof el.detachEvent!=="undefined"){el.detachEvent("on"+ev,fn)}},postMessage:function(w,m){if(typeof w.postMessage!=="undefined"){w.postMessage(m,"*")}},getSexy:function(n){var i,k="",s="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ_abcdefghijkmnopqrstuvwxyz";for(i=0;i<12;i=i+1){k=k+s.substr(Math.floor(Math.random()*60),1)}return k},readCookie:function(t){var i,k,v;var p=$.d.cookie.split(";");var n=p.length;for(i=0;i<n;i=i+1){k=p[i].split("=")[0];if(k.charAt(0)==" ")k=k.substring(1);v=p[i].split("=")[1];if(k===t){return v}}return null},writeCookie:function(k,v){var cookieExpires=new Date;cookieExpires.setTime($.v.startTime+$.a.daysToExpire*24*60*60*1e3);$.d.cookie=k+"="+v+"; expires="+cookieExpires.toGMTString()+"; path=/;"},getTarget:function(e){var el=null;if(e.target){el=e.target.nodeType===3?e.target.parentNode:e.target}else{el=e.srcElement}return el},callback:function(r){if(r&&r.newClickId){$.v.hitId=r.newClickId}if(r&&r.v){$.v.visitorId=r.v;$.f.writeCookie($.a.cookieId,$.v.visitorId)}if(r.chat&&!$.v.chatShown){$.f.startChat(r.chat)}},startChat:function(data){$.v.chatShown=true;if(typeof window.postMessage==="undefined"){$.f.run($.a.server+"/"+$.a.publicId+"/v/"+$.v.visitorId+"/cir/1/",{});return}var ll_chat_notification=document.createElement("div");ll_chat_notification.id="ll_chat_notification";ll_chat_notification.style.zIndex="100003";ll_chat_notification.style.position="fixed";ll_chat_notification.style.width="0px";ll_chat_notification.style.height="0px";ll_chat_notification.overflow="hidden";ll_chat_notification.style.bottom="0px";if(!$.f.isMobileAgent())ll_chat_notification.style.right="10px";var iframe=document.createElement("iframe");var qp="";for(var key in data){if(!data.hasOwnProperty(key))continue;if(key==="host")continue;if(qp)qp+="&";qp+=encodeURIComponent(key)+"="+encodeURIComponent(data[key])}iframe.src=(data.host+"/chat/popup?"+qp).replace(/^(http:)?\/\//,"https://");iframe.style.zIndex="100003";iframe.scrolling="no";iframe.style.height="100%";iframe.style.width="100%";if($.f.isMobileAgent()){iframe.style.border="0";iframe.style.height="200px"}ll_chat_notification.appendChild(iframe);document.body.appendChild(ll_chat_notification);function flashTitle(newTitle,period){var oldTitle=$.d.title;var id=setInterval(function(){if($.d.title==newTitle){$.d.title=oldTitle}else{$.d.title=newTitle}},period);return function(){clearInterval(id);$.d.title=oldTitle}}var unflash;$.f.listen($.w,"message",function(event){event=event||window.event;var match=event.data.match(/^size:([0-9]*):([0-9]*)$/);if(match){var w=match[1],h=match[2];ll_chat_notification.style.width=w+"px";ll_chat_notification.style.height=h+"px";ll_chat_notification.style.display="block";unflash=flashTitle("Chat Requested",1e3);return}if(event.data==="show chat"&&$.f.isMobileAgent()){ll_chat_notification.style.left="0";ll_chat_notification.style.width="100%";ll_chat_notification.style.height="48px";ll_chat_notification.style.display="block";unflash=flashTitle("Chat Requested",1e3);return}if(event.data!=="close iframe")return;unflash();$.w.setTimeout(function(){$.v.chatShown=false},4e3);if(ll_chat_notification.parentNode)ll_chat_notification.parentNode.removeChild(ll_chat_notification);$.f.run($.a.server+"/"+$.a.publicId+"/v/"+$.v.visitorId+"/cir/1",{})})},kill:function(id){var s=$.d.getElementById($.k+".f.kk["+id+"]");if(typeof s==="object"&&s.tagName&&s.parentNode){s.parentNode.removeChild(s)}},run:function(url,qp){var t=$.f.kk.length,n=$.d.getElementsByTagName("SCRIPT")[0],s=$.d.createElement("SCRIPT");$.f.kk[t]=function(r){$.f.kill(t);$.f.callback(r)};url=url+"/c/"+$.k+".f.kk["+t+"]";if(typeof qp==="object"){var first=true;for(var k in qp){url=url+(first?"?":"&")+k+"="+encodeURIComponent(qp[k]);first=false}}s.src=$.d.location.protocol+"//"+url;s.type="text/javascript";s.id=$.k+".f.kk["+t+"]";n.parentNode.insertBefore(s,n)},ping_url:function(first){if(typeof first==="undefined")first=false;var url=$.a.server;var qp={};var pageUrl=$.f.api.getUrl();var attribution=$.d.getElementById("lexitySalesAttribution")||$.d.getElementById("vurveSalesAttribution")||$.d.getElementById("lex_invoice_id");if(attribution&&attribution.name){$.a.pageClass="confirm";if(pageUrl.indexOf("?")!==-1){pageUrl+="&invoiceId="+attribution.name}else{pageUrl+="?invoiceId="+attribution.name}}if($.a.embedHash&&$.a.partnerCode&&$.a.merchantId){url+="/embed/"+$.a.partnerCode+"/"+$.a.embedHash;qp={id:$.a.merchantId,ts:(new Date).getTime()}}else{url+="/"+$.a.publicId}if(!first)url+="/h/1";url+="/v/"+$.v.visitorId+"/k/"+$.v.hitId+"/u/"+encodeURIComponent(pageUrl);url+="/n/"+$.a.time_start;var buying_flag=$.d.getElementById("lex_user_in_cart");if($.v.look_for_div&&buying_flag){$.a.pageClass="buying";$.v.look_for_div=false;buying_flag.parentNode.removeChild(buying_flag)}if($.a.pageClass)url+="/x/"+encodeURIComponent($.a.pageClass);if($.f.api.getTitle())url+="/t/"+encodeURIComponent($.f.api.getTitle());if($.f.api.getReferrer())url+="/r/"+encodeURIComponent($.f.api.getReferrer());if($.a.version)url+="/vn/"+encodeURIComponent($.a.version);return[url,qp]},phoneHome:function(first){var a=$.f.ping_url(first);var url=a[0];var qp=a[1];$.f.run(url,qp)},ping:function(first){$.f.phoneHome(first);var now=(new Date).getTime();if(now-$.v.startTime<$.a.maxSessionLength){$.w.setTimeout(function(){$.f.ping()},$.a.pingInterval*1e3)}},buildConversion:function(args){if(typeof args==="object"&&args.id){var query="",key="",path="//www.googleadservices.com/pagead/conversion/"+args.id,img=$.d.createElement("IMG");for(key in args){if(args[key].hasOwnProperty){if(key!=="id"){if(query){query=query+"&"}else{query="/?"}query=query+encodeURIComponent(key)+"="+encodeURIComponent(args[key])}}}img.height=1;img.width=1;img.style.height="1px";img.style.width="1px";img.style.position="absolute";img.style.top="-1000px";img.style.left="-1000px";img.src=path+query;$.d.b.appendChild(img)}},getVisitorId:function(vpx,cont){$.v.visitorId=$.f.readCookie($.a.cookieId);$.f.listen($.w,"message",receiveVisitorId);var iframed=$.w.top!=$.w;if(iframed)$.f.postMessage($.w.top,"Get Lexity visitorId");var giveUp=$.w.setTimeout(rest,100);function receiveVisitorId(event){event=event||window.event;if(!event||!event.data)return;var s=event.data.split("=");if(s.length===2&&s[0]==="Lexity visitorId"){$.v.visitorId=s[1];$.w.clearTimeout(giveUp)}}function rest(){$.f.unlisten($.w,"message",receiveVisitorId);if(!$.v.visitorId){$.v.visitorId=$.f.getSexy()}if(vpx){$.v.visitorId=vpx.split(";")[0]}else if(!iframed){$.w.name=$.w.name+"_vpx="+$.v.visitorId+";"}$.f.writeCookie($.a.cookieId,$.v.visitorId);cont()}},setupYcc:function(setupYccCb){var old_ycc=[].concat($.w._ycc||[],$.w._lex||[]);var toSend={};var e=encodeURI;var url_prefix=function(){return $.a.server+"/"+$.a.publicId+"/v/"+$.v.visitorId+"/k/"+$.v.hitId};var count=0;function getWaiter(){count++;return function(){count--;if(count<=0)setupYccCb()}}var _ycc_handler={_awaitSetup:function(cb){cb()},_delayPings:function(cb){cb(getWaiter())},_rule:function(message){var urlRule=url_prefix()+"/rule/"+e(message);$.f.run(urlRule,null)},_addTrans:function(id,store_name,total,tax,shipping,city,state,country){toSend["_addTrans"]=Array.prototype.slice.call(arguments,0)},_addItem:function(id,sku,name,variant,unit_price,quantity){toSend["_addItem"]=toSend["_addItem"]||[];toSend["_addItem"].push(Array.prototype.slice.call(arguments,0))},_trackTrans:function(){var sendString=url_prefix()+"/ecomm/"+e(JSON.stringify(toSend));$.f.run(sendString,null);toSend={}}};$.w._ycc={__internal:$,push:function(arr){if(Object.prototype.toString.call(arr)!="[object Array]"||!arr[0]||!_ycc_handler.hasOwnProperty(arr[0])){return false}_ycc_handler[arr[0]].apply(null,arr.slice(1))}};$.w._lex=$.w._ycc;for(var i=0;i<old_ycc.length;i++){$.w._ycc.push(old_ycc[i])}getWaiter()()},lookForOrders:function(){var result=[];var scripts=$.d.getElementsByTagName("script");var scraped_orders=[];for(var i=0;i<scripts.length;i++){var text=scripts[i].innerHTML;var gaq_regex=/_gaq.push\(([^)]*)\)/g;var match;var res=[];while(match=gaq_regex.exec(text))res.push(match[1]);scraped_orders.push(res)}scraped_orders=[].concat.apply([],scraped_orders);var parsed_orders=[];for(var i=0;i<scraped_orders.length;i++){var res;try{res=eval(scraped_orders[i])}catch(e){res=null}if(res)parsed_orders.push(eval(scraped_orders[i]))}var supported_commands={_addTrans:1,_addItem:1,_trackTrans:1};for(var i=0;i<parsed_orders.length;i++){if(supported_commands[parsed_orders[i][0]]){result.push(parsed_orders[i])}}$.w._ycc=$.w._ycc||[];for(var i=0;i<result.length;i++){$.w._ycc.push(result[i])}},isMobileAgent:function(){return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},init:function(){if(typeof $.w.name==="undefined"){$.w.name=""}if($.a.publicId==="1e817333")$.f.lookForOrders();$.a.time_start=$.a.time_start||0;var vpx=$.w.name.split("_vpx=")[1];$.d.b=$.d.getElementsByTagName("BODY")[0];if($.a.cid&&$.a.lab){$.f.buildConversion({id:$.a.cid,label:$.a.lab,format:3,language:"en",color:"666666",value:0})}$.v={rf:0,hitId:$.f.getSexy(),startTime:(new Date).getTime(),look_for_div:true};$.f.getVisitorId(vpx,function(){$.f.setupYcc(function(){$.f.listen($.w,"message",function(event){event=event||window.event;if(!event)return;if(event.data==="Get Lexity visitorId"){$.f.postMessage(event.source,"Lexity visitorId="+$.v.visitorId)}});if(!$.a.silent)$.f.ping(true)})})}};;return s}();$.w.setTimeout(function(){$.f.init()},100)})(window,document,{"publicId":"YW.17d61fe8a5d6","embedHash":"c566f626bf19a9382f67df8064689f37","partnerCode":"YW","merchantId":"17d61fe8a5d6","pageClass":"","server":"np.lexity.com","click_id":"","silent":"","time_start":"1427184418594","daysToExpire":1000,"waitBeforeUnload":300,"cookieId":"_vpx","pingInterval":4,"maxSessionLength":1200000,"version":1});

    Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds 48ACD
    Dark_wizzie
    Dark_wizzie
    I am Death Incarnate!
    I am Death Incarnate!


    Female
    Number of posts : 5120
    Age : 30
    Location : California, USA
    Job : Investor
    Hobbie : Computers, chess, computer chess, fashion, and philosophy
    Message : I made this forum when I was 13 High on Drugs
    Registration date : 2007-03-24

    Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds Empty Re: Tracking Script Embedded into DieHardWolfers That Phones Home to "Lexity" Every 2-3 Seconds

    Post by Dark_wizzie Wed Mar 25, 2015 2:19 am

    wot



    Wolf3d Haven
    Minute Logic Blog

      Current date/time is Sat Nov 23, 2024 4:10 pm