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

MB 163: prevent uBlock Origin from being uninstalled/disabled

parent 6f59241f
Branches
Tags
1 merge request!142MB 355: Rebased MB onto 128.3.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