Jump to content

Recommended Posts

Hello everybody

I have a simple and silly question.

This is a javascript code

if(typeof _adhtzu=='undefined')var _adhtzu=Math.floor(Math.random()*4294967296);if(typeof _adhtzc=='undefined')var _adhtzc=0;if(++_adhtzc<=3){(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(b);if(b.nodeName=='SCRIPT'&&(m=b.src.match(/^(?:https??\/\/adhitzads.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':'')+'://p1.adhitzads.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>');})()}

 

I don't anything about javascript but if possible can anyone have a look at the code and tell me if it grab the viewer email and insert it in the image link?

 

Thanks really appreciated

Link to comment
https://forums.phpfreaks.com/topic/225240-need-help-with-this/
Share on other sites

Here is your code formatted:

if (typeof _adhtzu == 'undefined') var _adhtzu = Math.floor(Math.random() * 4294967296);
if (typeof _adhtzc == 'undefined') var _adhtzc = 0;
if (++_adhtzc     (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                 b = o.childNodes[i];
                if (b.childNodes.length) f(b);
                if (b.nodeName == 'SCRIPT' && (m = b.src.match(/^(?:https??\/\/adhitzads.com\/([0-9]+)(?:\/([a-z0-9]{1,32}))?\/?$/))) s.push(m);
            }
        }
        f(document);
        for (var i = 0; i ' + 'ipt>');
    })()
}

 

I don't anything about javascript but if possible can anyone have a look at the code and tell me if it grab the viewer email and insert it in the image link?

 

Just take a look at the source and see if the email is inserted.

Link to comment
https://forums.phpfreaks.com/topic/225240-need-help-with-this/#findComment-1163233
Share on other sites

Well Maq if I knew anything about javascript I wouldn't ask, I have find my way through the code.

I don't even know how the syntax that find the ip looks like.

 

Anyway, the code limit the adz appearance to only 3.

Anyway one can help me on how to alter that code and to make it show like 20 adz ?

 

I do not have access to the previous code so i can't edit it. So i need a code which i can add on the main page and which can alter the above adz limit

Link to comment
https://forums.phpfreaks.com/topic/225240-need-help-with-this/#findComment-1163566
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.