mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
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:
@@ -1008,6 +1008,7 @@ module.exports = {
|
||||
unsupportedBrowsers: {
|
||||
ie: '<=11',
|
||||
safari: '<=14',
|
||||
firefox: '<=78',
|
||||
},
|
||||
|
||||
// ID of the IEEE brand in the rails app
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user