write a program to detect the user's browser ?
Answer Posted / dhivya barathi
function getBrowser() {
if (Navigator.AppAgent.IndexOf("Chrome")! = -1) {
document.write("Chrome Browser");
}
getBrowser();
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
code to sorting an array of objects
how to create Expandable and Collapsible Menus
how to Scroll a DIV content
How to encode and decode URL strings?
how to convert between arrays and strings
code to set the main window's size
code to keep a page Out of the browser history
how to create a Draggable element
maximizing the main window
How to block double clicks
code to Hide and Show form controls
program to bring a window to the front
how to pass data between pages using Cookies
determine which Element received an Event
how to get the User's Time of Day