Browser Detection by Rob W as modified by willsquire and HoldOffHunger, 2017/10/26
This script only reports the browser name, not its version.
● Firefox version 61.0.2 reports Firefox
● Chrome version 68.0.3440.106 reports Chrome
● IE 11.0.9600.19100 reports IE
● Opera version 54.0.2952.64 reports Opera
● Mis-identifies Slimjet 19.0.2.0 as Chrome
● Mis-identifies Safari version 11.4 (15F79) as "Don't Know"
● Edge version 41.16299.371.0 HTML 16.16299 reports Edge
To examine the details of this browser detection method, simply right-click this page and then select "View Page Source" (in Firefox - other browsers similar).
M.D.J. 2018/08/22
W, Rob, willsquire, and HoldOffHunger (2017) https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser.