I know you should do feature detection where possible, but can you detect in Javascript if the browser is the Microsoft Edge browser?
I maintain an old product and I
navigator.appVersion.indexOf('Edge') > -1