Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-16-2004, 12:30 AM   #1
infecto
Confirmed User
 
Join Date: May 2003
Posts: 1,697
SP2 Detection Code?

Whats the best/easiest way to detect if a surfer is using SP2. I am not sure of the exact code but it has to be possible no?
infecto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2004, 01:11 AM   #2
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
If the user agent string contains "SV1", Internet Explorer is in SP2.
PHP Code:


var g_fIsSP2 false;
function 
browserVersion()
{
  
g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
  if (
g_fIsSP2)
    {
      
//This browser is Internet Explorer in SP2. 
    
}
  else
    {
      
//This browser is not Internet Explorer in SP2.
    
}

__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2004, 01:13 AM   #3
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
The code all fucked up because the gfy mods couldn't figure out how to parse properly.
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2004, 08:55 AM   #4
infecto
Confirmed User
 
Join Date: May 2003
Posts: 1,697
Quote:
Originally posted by SmokeyTheBear
The code all fucked up because the gfy mods couldn't figure out how to parse properly.
smokey is there anyway you can email to me [email protected] or ICQ (146664255)?
infecto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-16-2004, 10:14 AM   #5
infecto
Confirmed User
 
Join Date: May 2003
Posts: 1,697
Nm. Just reread what you said and got the code now. Thanks man.
infecto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.