jitsi / js-utils

Utilities for Jitsi JS projects
Apache License 2.0
33 stars 60 forks source link

fix(browser-detection): detect old Edge versions and mark them as unsupported #22

Closed jallamsetty1 closed 4 years ago

jallamsetty1 commented 4 years ago

new Edge (default):

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3763.0 Safari/537.36 Edg/75.0.131.0

old Edge (white lie):

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

Make sure we return browser name as 'UNKNOWN' for older Edge versions.