Bug 1898941 - Add UA override for events.webinar.ru; r=ksenia,webcompat-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D218234
This commit is contained in:
Thomas Wisniewski 2024-07-31 18:32:36 +00:00
parent 89728e441b
commit f339e845ec
2 changed files with 36 additions and 0 deletions

View File

@ -1386,6 +1386,24 @@ const AVAILABLE_UA_OVERRIDES = [
},
},
},
{
/*
* Bug 1898941 - UA override for events.webinar.ru
* Webcompat issue #121871 - https://webcompat.com/issues/121871
*
* Site blocks Firefox, but seems to work with a UA spoof.
*/
id: "bug1898941",
platform: "all",
domain: "events.webinar.ru",
bug: "1898941",
config: {
matches: ["*://events.webinar.ru/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
];
module.exports = AVAILABLE_UA_OVERRIDES;

View File

@ -1386,6 +1386,24 @@ const AVAILABLE_UA_OVERRIDES = [
},
},
},
{
/*
* Bug 1898941 - UA override for events.webinar.ru
* Webcompat issue #121871 - https://webcompat.com/issues/121871
*
* Site blocks Firefox, but seems to work with a UA spoof.
*/
id: "bug1898941",
platform: "all",
domain: "events.webinar.ru",
bug: "1898941",
config: {
matches: ["*://events.webinar.ru/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
];
module.exports = AVAILABLE_UA_OVERRIDES;