Not long ago, WebKit overtook Gecko as the embeddable webview of choice, and so many started looking for “Firefox” in the user-agent string to specifically identify Firefox.Ĭhrome came along and wanted to be identified as Safari, so it pretty much copied the Safari user-agent string and added a “Chrome” identifier. That approach fell apart when Safari decided to add “like Gecko” into the middle of its user-agent string. When Gecko was the embedded webview of choice, many simply looked for “Gecko” in the user-agent string to determine if it was a Gecko-powered browser (and therefore likely to behave as Firefox).
If present, the browser is Internet Explorer. In the past, it was easy to identify Internet Explorer by searching for the string “MSIE” in the user-agent string. Mozilla/5.0 (compatible MSIE 10.0 Windows NT 6.1 Trident/6.0)