- Code: Select all
navigator.userAgent
- Code: Select all
navigator.appName
Is there a way, using JavaScript on the web app, to identify that we are using JCEF instead of Google Chrome?
navigator.userAgent
navigator.appName
bluechips23 wrote:Is there a way, using JavaScript on the web app, to identify that we are using JCEF instead of Google Chrome?
if(typeof window.cefQuery === 'function') {
console.log("We are working within JCEF");
} else {
console.log("We are either not in JCEF, or CefMessageRouter has no definition or handler for 'cefQuery'");
}
Users browsing this forum: No registered users and 19 guests