PDA

View Full Version : Can somebody help me with the browser sniffer?



Dillbertdabomb
09-01-2006, 05:03 PM
Browser sniffer

http://www.dynamicdrive.com/dynamicindex9/browsersniffer.htm

I need help to make a script that redirects you to another page depending on your os and browser. I do not know javascript very well my self so can you write by writing one? thanks

blm126
09-01-2006, 08:01 PM
That is a very bad idea. Why? you might ask. Well

More pages to maintain
you can't possibly test every browser out there
more work for you
I said so

You should follow the standards (http://w3.org) and use conditional comments (http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp) to account for Internet Explorer.