Linked by Thom Holwerda on Thu 25th Aug 2005 17:24 UTC
Google When Google unveiled its instant messaging client yesterday, there was only one problem: Google Talk requires a Gmail account, which has been invitation-only since its beta debut in 2004. This changed on Thursday, however, as Google opened Gmail to anyone in the United States with a mobile phone. Other countries will follow.
Thread beginning with comment 23104
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: adware site??
by on Thu 25th Aug 2005 18:42 UTC in reply to "adware site??"

Member since:

How about they do a user agent check and change the text to match the user agent of your browser os. I bet it you changed your user agent to be a different os it would show that name.

Reply Parent Bookmark Score: 0

RE[2]: adware site??
by andrewg on Thu 25th Aug 2005 19:06 in reply to "RE: adware site??"
andrewg Member since:
2005-07-06

No need to bet, its confirmed. The page calls a Javasript file which basically writes to the page and includes the following javascript.



document.write ('var detect = navigator.userAgent.toLowerCase();n');
document.write ('var OS,browser,total,thestring;n');


and

document.write ('if (!OS)n');
document.write ('{n');
document.write (' if (checkIt(');
document.write ("'");
document.write ('linux');
document.write ("'");
document.write (')) OS = "Linux";n');
document.write (' else if (checkIt(');
document.write ("'");
document.write ('x11');
document.write ("'");
document.write (')) OS = "Unix";n');
document.write (' else if (checkIt(');
document.write ("'");
document.write ('mac');
document.write ("'");
document.write (')) OS = "Mac";n');
document.write (' else if ((checkIt(');

Reply Parent Bookmark Score: 1