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
Родитель 89728e441b
Коммит f339e845ec
2 изменённых файлов: 36 добавлений и 0 удалений

Просмотреть файл

@ -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;

Просмотреть файл

@ -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;