Skip to content
Snippets Groups Projects
Commit b1be6274 authored by ma1's avatar ma1 Committed by morgan
Browse files

MB 163: prevent uBlock Origin from being uninstalled/disabled

parent f430c111
Branches
Tags
1 merge request!135Rebase Mullvad Browser to 128.2.0esr
......@@ -938,7 +938,11 @@ export class AddonInternal {
}
// Bug 41598: prevent NoScript from being uninstalled/disabled
if (this.id === "{73a6fe31-595d-460b-a920-fcc0f8843232}") {
if (
this.id === "{73a6fe31-595d-460b-a920-fcc0f8843232}" ||
// mullvad-browser#163: prevent uBlock Origin from being uninstalled/disabled
this.id === "uBlock0@raymondhill.net"
) {
permissions &= ~(
lazy.AddonManager.PERM_CAN_UNINSTALL |
lazy.AddonManager.PERM_CAN_DISABLE |
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment