bro = navigator.appName.substr(0,3).toLowerCase(); ver = navigator.appVersion.substr(0,1).toLowerCase(); ch = bro + ver;