Skip to content
Snippets Groups Projects
Verified Commit 08892ed4 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

MB 163: prevent uBlock Origin from being uninstalled/disabled

parent 4283a523
Branches
Tags
1 merge request!90Rebase Mullvad Browser on top of 115.3.1
......@@ -936,7 +936,11 @@ 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