Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
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
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
87524fa0
Verified
Commit
87524fa0
authored
Apr 18, 2023
by
ma1
Committed by
Pier Angelo Vendrame
Feb 13, 2024
Browse files
Options
Downloads
Patches
Plain Diff
MB 163: prevent uBlock Origin from being uninstalled/disabled
parent
e1ac8710
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!104
MB 267: Rebased Mullvad Browser Stable onto Firefox 115.8.0esr
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 @
87524fa0
...
...
@@ -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