Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
08892ed4
Verified
Commit
08892ed4
authored
Apr 18, 2023
by
ma1
Committed by
Pier Angelo Vendrame
Oct 4, 2023
Browse files
Options
Downloads
Patches
Plain Diff
MB 163: prevent uBlock Origin from being uninstalled/disabled
parent
4283a523
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!90
Rebase Mullvad Browser on top of 115.3.1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolkit/mozapps/extensions/internal/XPIDatabase.jsm
+5
-1
5 additions, 1 deletion
toolkit/mozapps/extensions/internal/XPIDatabase.jsm
with
5 additions
and
1 deletion
toolkit/mozapps/extensions/internal/XPIDatabase.jsm
+
5
−
1
View file @
08892ed4
...
...
@@ -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
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment