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:

#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }