mikemaccana / outdated-browser-rework

Detects outdated browsers and advises users to upgrade to a new version. Handles mobile devices!
MIT License
226 stars 63 forks source link

Update Edge handling (now that it's on Chromium) #96

Closed benmccallum closed 4 years ago

benmccallum commented 4 years ago

Browser name pulled from useragent is still the same: Edge.

We need to have a conditional that checks for major version <= last non-Chromium version, and then does the mapping to EDGE_HTML; but if greater (e.g. Chromium Edge), just treat as normal check.