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

MB 163: prevent uBlock Origin from being uninstalled/disabled

parent 132ba735
Branches
No related tags found
1 merge request!110MB 273: Rebased stable onto Base Browser 13.0 115.9.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