Merge pull request #24165 from overleaf/lg-td-firefox-78-unsupported

Redirect Firefox 78 and lower to unsupported browser page

GitOrigin-RevId: 1da7379c622b3ae61c3309295c769fe293c0e716
This commit is contained in:
Tim Down
2025-03-17 10:42:30 +00:00
committed by Copybot
parent 09b68de041
commit c5b584e3d8
2 changed files with 9 additions and 0 deletions

View File

@@ -1008,6 +1008,7 @@ module.exports = {
unsupportedBrowsers: {
ie: '<=11',
safari: '<=14',
firefox: '<=78',
},
// ID of the IEEE brand in the rails app

View File

@@ -18,6 +18,10 @@ const unsupportedUserAgents = new Map([
'Safari 14',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 11_5_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15',
],
[
'Firefox 78',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 11.1; rv:78.0) Gecko/20100101 Firefox/78.0',
],
])
const supportedUserAgents = new Map([
@@ -29,6 +33,10 @@ const supportedUserAgents = new Map([
'Chrome 121',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36',
],
[
'Firefox 79',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:79.0) Gecko/20100101 Firefox/79.0',
],
[
'Firefox 122',
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0',