I want to check if the active browser is Chrome, in TypeScript/JavaScript.
Earlier i have used
var isChrome = !!(<any>window).chrome && !!(<any>window).chrome.webstore;
But that doesn't seem to work anymore. What is the new approach? I do not wish to use UserAgent, due bad experience.