Browser types

  • Thread starter Thread starter Yama
  • Start date Start date
Y

Yama

Hi,

Does anyone have the list of browser types by name?

Example:

Request.Browser.Type for IE 6.0 returns IE6 you can figure out that version
5.0 will return IE5 and so on.
For Netscape 6 it would return Netscape6.

How about for the others Opera, Gecko, etc... ?

Thanks,

Yama
 
it dpends on what you put in browsercaps. in any case its just a guess based
on looking at the UserAgent string. opera for instance can be set to lie and
always report itself as IE. some proxies will strip it.

most sites have switched to runtime detection

if (document.all)
-- must be ie
if (document.getElementById)
-- some html 4.0 support
etc...

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top