Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to check for safari web browser

Status
Not open for further replies.

jgraves13

Programmer
Jan 31, 2007
42
US
Hello,

Does anyone now how to implement a safari web browser check in my .NET code.

JG
 
Thanks TipGiver... that was a good tip, he is what I am doing to check... in a javascript now... :)

Code:
var x = navigator
document.write("CodeName=" + x.appCodeName)
document.write("<br />")
document.write("MinorVersion=" + x.appMinorVersion)
document.write("<br />")
document.write("Name=" + x.appName)
document.write("<br />")
document.write("Version=" + x.appVersion)
document.write("<br />")
document.write("CookieEnabled=" + x.cookieEnabled)
document.write("<br />")
document.write("CPUClass=" + x.cpuClass)
document.write("<br />")
document.write("OnLine=" + x.onLine)
document.write("<br />")
document.write("Platform=" + x.platform)
document.write("<br />")
document.write("UA=" + x.userAgent)
document.write("<br />")
document.write("BrowserLanguage=" + x.browserLanguage)
document.write("<br />")
document.write("SystemLanguage=" + x.systemLanguage)
document.write("<br />")
document.write("UserLanguage=" + x.userLanguage)
 
Thats nice.
You can check the same in Request.Browser.<...>
 
Thats nice.
You can check the same in Request.Browser.<...>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top