Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

redirect based on platform AND browser?



11:52 pm on Jan 8, 2004 (gmt 0)

Inactive Member
Account Expired


Could someone help me out with this little script here, it was posted at:


the solution works great but how do I add browser version to the equation?
This is what my script would have to do:

1. if user is on Mac IE they go to Mac page
2. if thy're on Mac Safari, they go to Safari page
3. if PC Netscape 4.x they're redirected to netscape page
4. if they're on PC Netscape 6(or 7) they go to appropriate page
5. if they're on PC IE 4.x and up, they stay where they are

1:26 am on Jan 9, 2004 (gmt 0)

New User

10+ Year Member

joined:Jan 3, 2004
votes: 0

yeah, I would also like to know how to do it. I know how to redirect page based on user's browser name and version, but I don'w know how to do it based on PC or Mac. I am sure JS gurus here know how to do it.


3:03 am on Jan 9, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:June 13, 2003
votes: 0

is available for modern browsers.

I'd also suggest a Google search on object detection javascript.