Skip to main content
Sign in
Snippets Groups Projects
Verified Commit 87524fa0 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

MB 163: prevent uBlock Origin from being uninstalled/disabled

parent e1ac8710
Branches
Tags
1 merge request!104MB 267: Rebased Mullvad Browser Stable onto Firefox 115.8.0esr
......@@ -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