/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
exports.L10N = new LocalizationHelper(NET_STRINGS_URI);
function getBlockedReasonString(blockedReason, extension) { if (!blockedReason) { returnnull;
}
if (extension?.blocking) { return exports.L10N.getFormatStr( "networkMenu.blockedby",
extension.blocking
);
}
if (extension?.blocked) { return exports.L10N.getFormatStr( "networkMenu.addonBlocked",
extension.blocked
);
}
// If we receive a platform error code, print it as-is if (typeof blockedReason == "string" && blockedReason.startsWith("NS_")) { return blockedReason;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.