window.getUserAgent = () => { return navigator.userAgent; };