Bug 1899929 - add a UA override for selecionases.saude.pe.gov.br; r=denschub,webcompat-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D228875
This commit is contained in:
Thomas Wisniewski
2024-11-20 14:07:42 +00:00
parent bfbec9c0ad
commit 8a5efbac2b
3 changed files with 70 additions and 0 deletions

View File

@@ -1651,6 +1651,24 @@ const AVAILABLE_UA_OVERRIDES = [
},
},
},
{
/*
* Bug 1899929 - UA override for selecionases.saude.pe.gov.br
* Webcompat issue #127079 - https://webcompat.com/issues/127079
*
* The site says Firefox is unsupported, yet seems to work with a Chrome UA.
*/
id: "bug1899929",
platform: "all",
domain: "selecionases.saude.pe.gov.br",
bug: "1899929",
config: {
matches: ["*://selecionases.saude.pe.gov.br/*"],
uaTransformer: () => {
return UAHelpers.getDeviceAppropriateChromeUA();
},
},
},
];
module.exports = AVAILABLE_UA_OVERRIDES;