Hot answers tagged browser-detecting
Because Microsoft Edge presents a User-Agent string that contains the word Chrome. And, for that matter, Safari. Check out http://whatsmyuseragent.com/ and you'll see something like this: (Emphasis mine) This is deliberate on Microsoft's behalf to fool naïve user-agent checks into thinking that it's not Internet Explorer. Which it isn't.
These in-app browsers are basically a cut down version of the native browser and so have the same user agent string. Unfortunately there is no way strictly speaking to detect them and break out of them as the apps (such as the facebook app) will always open the links using the in-app browser instead of closing the app and opening up the complete browser app. ...
Only top voted, non community-wiki answers of a minimum length are eligible