browser detection and redirection

J

jaydev2605

Hi,

I am looking for code to detect and redirect to the corresponding
browser download page if the clients uses old version, could anyone
have a sample code for this?
I want to use the following version browser only, if they are other
types I need to redirect to there download page.
Internet Explorer version 5.0and above
Netscape Navigator version 7.0 and above
Mozilla version 1.3 and above
Opera version 7.0 and above
Safari/OmniWeb version 4.5 and above
Konqueror version 3.2 and above


Appreciate any help

Thanks,
Jay
 
T

Tom Willett

Google for: browser detection redirection script
and you'll come up with many suggestions.
--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| Hi,
|
| I am looking for code to detect and redirect to the corresponding
| browser download page if the clients uses old version, could anyone
| have a sample code for this?
| I want to use the following version browser only, if they are other
| types I need to redirect to there download page.
| Internet Explorer version 5.0and above
| Netscape Navigator version 7.0 and above
| Mozilla version 1.3 and above
| Opera version 7.0 and above
| Safari/OmniWeb version 4.5 and above
| Konqueror version 3.2 and above
|
|
| Appreciate any help
|
| Thanks,
| Jay
|
 
J

Jon Spivey

Hi,
You'd just use navigator.appName to get the browser and navigator.appVersion
to get the version number then do what you need to do. Only exception would
be opera which doesnt always identify itself correctly for this you'd use
if(window.opera)

Jon
 

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

Top