Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Tor Browser
Commits
b3f18ecf
Commit
b3f18ecf
authored
6 months ago
by
henry
Committed by
Pier Angelo Vendrame
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fixup! TB 7494: Create local home page for TBB.
TB 43567: Use the same update URL in about:tor as the about dialog.
parent
e246eadf
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1505
BB/TB 43416: Rebased onto 135.0a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
browser/components/abouttor/AboutTorMessage.sys.mjs
+10
-3
10 additions, 3 deletions
browser/components/abouttor/AboutTorMessage.sys.mjs
with
10 additions
and
3 deletions
browser/components/abouttor/AboutTorMessage.sys.mjs
+
10
−
3
View file @
b3f18ecf
...
...
@@ -26,13 +26,20 @@ export const AboutTorMessage = {
const
shouldNotifyPref
=
"
torbrowser.post_update.shouldNotify
"
;
if
(
Services
.
prefs
.
getBoolPref
(
shouldNotifyPref
,
false
))
{
Services
.
prefs
.
clearUserPref
(
shouldNotifyPref
);
// Try use the same URL as the about dialog. See tor-browser#43567.
let
updateURL
=
Services
.
urlFormatter
.
formatURLPref
(
"
app.releaseNotesURL.aboutDialog
"
);
if
(
updateURL
===
"
about:blank
"
)
{
updateURL
=
Services
.
urlFormatter
.
formatURLPref
(
"
startup.homepage_override_url
"
);
}
return
{
updateVersion
:
Services
.
prefs
.
getCharPref
(
"
browser.startup.homepage_override.torbrowser.version
"
),
updateURL
:
Services
.
prefs
.
getCharPref
(
"
torbrowser.post_update.url
"
,
""
)
||
Services
.
urlFormatter
.
formatURLPref
(
"
startup.homepage_override_url
"
),
updateURL
,
};
}
const
number
=
this
.
_count
;
...
...
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