Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • Code University
  • userAgent question
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
userAgent question
Tweet Topic Started: Dec 6 2008, 04:02 PM (189 Views)
ZapTap Dec 6 2008, 04:02 PM Post #1


Posts:
73
Group:
Member
Member
#896
Joined:
Sep 8, 2008
Coding language
HTML/CSS
when using this, what is the name for IE?
Offline Profile Goto Top
 
JFK Dec 6 2008, 06:54 PM Post #2
Member Avatar


Posts:
33
Group:
Member
Member
#1,274
Joined:
Oct 19, 2008
Well, Sitemeter.com is reporting my IE7 as :

Quote:
 
Internet Explorer 7.0
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)


other users are reported as :

Quote:
 
Internet Explorer 7.0
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)


Quote:
 
Internet Explorer 7.0
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648)


Quote:
 
Internet Explorer 7.0
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)


Quote:
 
Internet Explorer 6.0
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)


There are currently 36 other IE user agent strings logged into my board and the above are just random samples... with the exception of my own.

I hope this helps. :ermm:

Posted Image
Offline Profile Goto Top
 
Zoopey Dec 6 2008, 07:34 PM Post #3
Member Avatar
Can anyone else hear the music?

Posts:
268
Group:
Admins
Member
#1
Joined:
Jun 8, 2008
Coding language
Everything
x=navigator.userAgent();
if(x.match(/Internet Explorer/gi)) {
//Do stuff
}

That checks for IE.
♬ Come sail away, come sail away, come sail away with me! ♬-Styx[ustyle][prefix=][suffix=][/ustyle]
Offline Profile Goto Top
 
ZapTap Dec 6 2008, 09:42 PM Post #4


Posts:
73
Group:
Member
Member
#896
Joined:
Sep 8, 2008
Coding language
HTML/CSS
funny how it was your code I was workin' on choco :r

thanks a bunch :D
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code University · Next Topic »
Locked Topic

Track Topic · E-mail Topic Time: 7:43 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy