get chrome version number [ 800 views ]
Goal: simple and quick way to find the version of the browser
Be careful this is only for Chrome and based on the user agent string.
var version = navigator.userAgent.match(/Chrome\/([0-9|\.]+)/)[1];
the user agent string is:
and the extracted result is: