How do I detect what browser is being used?
Answers were Sorted based on User's Feedback
Answer / vel
BY using javascript, u can get browser details.
window.navigator.userAgent will give browser details.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
Many browsers identify themselves when they request a
document. A CGI script will have this information available
in the HTTP_USER_AGENT environment variable, and it can use
that to send out a version of the document which is
optimized for that browser.
Keep in mind not all browsers identify themselves correctly.
Microsoft Internet Explorer, for example, claims to be
"Mozilla 1.2" to get at Netscape enhanced documents.
And of course, if a cache proxy keeps the Netscape enhanced
document, someone with an other browser will also get this
document if he goes through the cache.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is meta tag description?
What is the use of section tag?
What are the five html tags?
What is the difference between <section> and <article>?
How do I get form data emailed to me?
In DHTML what is the difference between FontSize and Font Size ?
4 Answers Infosys, Magna Infotech, Microsoft, Polaris,
Can I specify fractional weight values such as 670 or 973 for font weight?
What is xhtml modularization?
Is there any way to keep list elements straight in an HTML file?
What is the difference between Canvas and SVG graphics?
What is a <dl> tag in html?
How do I get out of a frameset?