Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check chrome version in js

function getChromeVersion () {     
    var raw = navigator.userAgent.match(/Chrom(e|ium)/([0-9]+)./);

    return raw ? parseInt(raw[2], 10) : false;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #chrome #version #js
ADD COMMENT
Topic
Name
6+4 =