View Single Post
Old 06-26-2007, 01:45 PM  
frank7799
Confirmed User
 
frank7799's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: In the middle of nowhere...
Posts: 1,974
Quote:
Originally Posted by Tempest View Post
No, there didn't appear to be anything malicious abut the code.. However, those galleries rely on javascript being on for any clicks to get thru to the sponsor...
Exactly, they extract the nats ID and - if there is none - set it with their default ID.

function gotoTrackingURL()
{
if(gsNATS.length > 0)
document.location.href = gsTrackingURL + gsNATS;
else
document.location.href = gsTrackingURL + gsDefaultNATS;
}

This function compares the string length with 0. If it is >0, there is a nats ID which is kept. If it is = 0, that means the string is empty and they set the ID with their default.
frank7799 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote