I want to check out the version of chrome in such an easy way with the browser's debugger tool.
Asked
Active
Viewed 367 times
0
-
1this questions was already asked please look at http://stackoverflow.com/questions/11219582/how-to-detect-my-browser-version-and-operating-system-using-javascript – Franck Dang Jul 21 '16 at 05:48
-
Have look at [this](http://stackoverflow.com/questions/5916900/how-can-you-detect-the-version-of-a-browser) also. Similar kind of question is asked here. – Amol Bais Jul 21 '16 at 05:56
1 Answers
4
navigator.userAgent
gives you that data (among other things in the user agent string).
To get just the Chrome version, try this:
navigator.userAgent.match(/Chrome\/(\S*)/)[1]

user94559
- 59,196
- 6
- 103
- 103