Retrieving the User's Browser Information
If you'd like to get information about the browser users are using on your website, here's how-by using the navigator object.
The navigator object provides a good deal of information about the user's browser. Let's go over the individual fields.
Browser Name
You can retrieve the name of the browser by using navigator.appName
Browser Version
You can retrieve the version of the browser by using navigator.appVersion
Platform
You can retrieve the name of the browser by using navigator.platform.
See below for a look at how your browser identifies itself:
No comments :
Post a Comment