Forum Moderators: open

Message Too Old, No Replies

Browser Detect?

         

Khemikal

10:28 pm on Jan 27, 2004 (gmt 0)

10+ Year Member



When clients visit our sites using anything under the latest versions of Opera, Mozilla, NS, and MS, I would like to redirect them to a nice page a la ESPN. I did a search and found some JS examples from webmasterworld. Does anyone have anything with php or server side? Or any updated JS?

Thank you for your help.

Khem

hartlandcat

10:51 pm on Jan 27, 2004 (gmt 0)

10+ Year Member



ESPN

What do you mean by this?

RammsteinNicCage

11:11 pm on Jan 27, 2004 (gmt 0)

10+ Year Member



If you go to the ESPN.com website (sports), they have a redirect if you're using a browser that might not work the best with their site.

Jennifer

keyplyr

10:39 am on Jan 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Khemikal,

The top Goole result for "browser sniffer php" gives a forum page, which has at least 2 links to where you may find scripting to accomplish this.

Farix

12:18 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



ht*p://www.dithered.com/javascript/browser_detect/

Though I would recommend against this practice as it will end up annoying the user.

hartlandcat

4:41 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



Oh right, I understand now. I strongly recommend against this. Especially in the case of Mozilla -- 1.6 is the latest version -- do you seriously believe that your site will not function properly with Mozilla 1.5? The rendering engine has hardly changed at all.

TGecho

9:12 pm on Jan 28, 2004 (gmt 0)

10+ Year Member



If you do decide to do some sort of browser detection, at the very least do not block people. Make your script add some sort of message to the page or something. If the user acknowledges the message, do not let it bug them again.