Differentiate Chromium restricted URLs (where extensions cannot operate).

This commit is contained in:
hackademix 2019-02-01 00:31:00 +01:00
parent 781514cfb9
commit 4e5f12a6c2
1 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
{
// see https://bugzilla.mozilla.org/show_bug.cgi?id=1415644
let domains = [
let domains = UA.isMozilla ? [
"accounts-static.cdn.mozilla.net",
"accounts.firefox.com",
"addons.cdn.mozilla.net",
@ -16,7 +16,7 @@
"support.mozilla.org",
"sync.services.mozilla.com",
"testpilot.firefox.com",
];
] : [ "chrome.google.com" ];
function isRestrictedURL(u) {
try {