function getBrowser() { let e = navigator.userAgent.toLowerCase(); return window.ActiveXObject || "ActiveXObject" in window ? "ie" : e.indexOf("firefox") >= 0 ? "firefox" : e.indexOf("chrome") >= 0 ? "chrome" : e.indexOf("opera") >= 0 ? "opera" : e.indexOf("safari") >= 0 ? "safari" : "ie" }