Sunday, September 23, 2012

Q&A: Which Java-Script ought to I use to detect the person’s browser?



Problem by : Which Java-Script should I use to detect the person’s browser?

My aim is to have a JavaScript to include in my net-web page that detects the person’s browser and provides them with the appropriate CSS and start webpage.


The main Interests are IE (all modern variations), Firefox, BlackBerry, and iPhone.


Possessing seemed into this a little bit there show up to be tons of code good examples on the web. Any advice on what Java Script to use for this would be appreciated.


Greatest response:


Response by g’kar
You have to use if/else statements. You also require to find out their consumer.agent (browser).


Add your very own solution in the reviews!



Q&A: Which Java-Script ought to I use to detect the person’s browser?

No comments:

Post a Comment