deserty Posted October 26, 2012 Report Share Posted October 26, 2012 Urmatorul cod genereaza linkuri random.Cum as putea pune intr-o variabila linkul ce il genereaza ?if(typeof _adhtzu=='undefined')var _adhtzu=Math.floor(Math.random()*4294967296);if(typeof _adhtzc=='undefined') var _adhtzc=0; if(++_adhtzc<=4) { (function() { var s=[],l=window.location,r=document.referrer; if (l.hostname.replace(/^www\./i,'')==r.replace(/^https?:\/\/(?:www\.)?([^\/]+).*$/i,'$1')) { l=parent.window.location; r=parent.document.referrer; } function f(o) { var b,m; for(var i=0;i<o.childNodes.length;i++) { b=o.childNodes[i]; if (b.childNodes.length)f(; if (b.nodeName=='SCRIPT'&&(m=b.src.match(/^(?:https??\/\/site.com\/([0-9]+)(?:\/([a-z0-9]{1,32}))?\/?$/)))s.push(m); } } f(document); for(var i=0;i<s.length;i++) if(_adhtzc-1==i)document.write('<scr'+'ipt src="http'+(window.location.protocol=='https:'?'s':'')+'://site.com/?z='+s[i][1]+(s[i][2]?'&s='+s[i][2]:'')+'&p='+_adhtzu+'&l='+escape(l)+(r?'&r='+escape(r):'')+'&c='+_adhtzc+'" language="javascript"></scr'+'ipt>'); } ) () } Quote Link to comment Share on other sites More sharing options...