Answers for "how to check chrome version in js"

0

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;
}
Posted by: Guest on April-28-2020

Code answers related to "how to check chrome version in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language