Jump to content
deserty

Javascript

Recommended Posts

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>');
}
)
()
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...