Commits:
-
b086d25d
by Pier Angelo Vendrame at 2025-03-19T18:39:52+01:00
fixup! MB 1: Mullvad Browser branding
MB 412: Link the release page in the about dialog and clean brand-related preferences.
-
4ac981eb
by Pier Angelo Vendrame at 2025-03-19T18:41:32+01:00
fixup! MB 112: Updater customization for Mullvad Browser
MB 412: Link the release page in the about dialog and clean brand-related preferences.
-
979f4ea4
by Pier Angelo Vendrame at 2025-03-19T18:43:08+01:00
fixup! MB 38: Mullvad Browser configuration
MB 412: Link the release page in the about dialog and clean brand-related preferences.
4 changed files:
Changes:
browser/app/profile/000-mullvad-browser.js
| ... |
... |
@@ -15,9 +15,6 @@ pref("doh-rollout.provider-list", "[{\"UIName\":\"Mullvad\",\"autoDefault\":true |
|
15
|
15
|
// mullvad-browser#122: Audit DoH heuristics
|
|
16
|
16
|
pref("doh-rollout.disable-heuristics", true);
|
|
17
|
17
|
|
|
18
|
|
-// mullvad-browser#37: Customization for the about dialog
|
|
19
|
|
-pref("app.releaseNotesURL.aboutDialog", "about:blank");
|
|
20
|
|
-
|
|
21
|
18
|
// mullvad-browser#87: Windows and Linux need additional work to make the
|
|
22
|
19
|
// default browser choice working.
|
|
23
|
20
|
// We are shipping only the portable versions for the initial release anyway, so
|
| ... |
... |
@@ -40,9 +37,5 @@ pref("app.update.notifyDuringDownload", true); |
|
40
|
37
|
pref("app.update.url.manual", "https://mullvad.net/download/browser");
|
|
41
|
38
|
pref("app.update.url.details", "https://mullvad.net/download/browser");
|
|
42
|
39
|
pref("app.update.badgeWaitTime", 0);
|
|
43
|
|
-pref("app.releaseNotesURL", "https://github.com/mullvad/mullvad-browser/releases");
|
|
44
|
|
-// disables the 'What's New?' link in the about dialog, otherwise we need to
|
|
45
|
|
-// duplicate logic for generating the url to the github releases page
|
|
46
|
|
-pref("app.releaseNotesURL.aboutDialog", "about:blank");
|
|
47
|
40
|
// point to our feedback url rather than Mozilla's
|
|
48
|
41
|
pref("app.feedback.baseURL", "https://mullvad.net/help/tag/browser/"); |
browser/branding/mb-alpha/pref/firefox-branding.js
| ... |
... |
@@ -5,31 +5,23 @@ |
|
5
|
5
|
// This file contains branding-specific prefs.
|
|
6
|
6
|
|
|
7
|
7
|
pref("startup.homepage_override_url", "");
|
|
8
|
|
-pref("startup.homepage_welcome_url", "about:welcome");
|
|
9
|
|
-pref("startup.homepage_welcome_url.additional", "");
|
|
10
|
|
-// Interval: Time between checks for a new version (in seconds)
|
|
11
|
|
-pref("app.update.interval", 43200); // 12 hours
|
|
12
|
|
-// Give the user x seconds to react before showing the big UI. default=192 hours
|
|
13
|
|
-pref("app.update.promptWaitTime", 691200);
|
|
14
|
8
|
// app.update.url.manual: URL user can browse to manually if for some reason
|
|
15
|
9
|
// all update installation attempts fail.
|
|
16
|
10
|
// app.update.url.details: a default value for the "More information about this
|
|
17
|
11
|
// update" link supplied in the "An update is available" page of the update
|
|
18
|
12
|
// wizard.
|
|
19
|
|
-pref("app.update.url.manual", "https://www.mozilla.org/%LOCALE%/firefox/new?reason=manual-update");
|
|
20
|
|
-pref("app.update.url.details", "https://www.mozilla.org/%LOCALE%/firefox/notes");
|
|
21
|
|
-pref("app.releaseNotesURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew");
|
|
22
|
|
-pref("app.releaseNotesURL.aboutDialog", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog");
|
|
|
13
|
+pref("app.update.url.manual", "https://mullvad.net/download/browser#alpha");
|
|
|
14
|
+pref("app.update.url.details", "https://mullvad.net/download/browser#alpha");
|
|
|
15
|
+pref("app.releaseNotesURL", "https://github.com/mullvad/mullvad-browser/releases/tag/%BB_VERSION%");
|
|
|
16
|
+pref("app.releaseNotesURL.aboutDialog", "https://github.com/mullvad/mullvad-browser/releases/tag/%BB_VERSION%");
|
|
23
|
17
|
|
|
|
18
|
+// Interval: Time between checks for a new version (in seconds)
|
|
|
19
|
+pref("app.update.interval", 43200); // 12 hours
|
|
24
|
20
|
// The number of days a binary is permitted to be old
|
|
25
|
21
|
// without checking for an update. This assumes that
|
|
26
|
22
|
// app.update.checkInstallTime is true.
|
|
27
|
23
|
pref("app.update.checkInstallTime.days", 63);
|
|
28
|
24
|
|
|
29
|
|
-// Give the user x seconds to reboot before showing a badge on the hamburger
|
|
30
|
|
-// button. default=4 days
|
|
31
|
|
-pref("app.update.badgeWaitTime", 345600);
|
|
32
|
|
-
|
|
33
|
25
|
// Number of usages of the web console.
|
|
34
|
26
|
// If this is less than 5, then pasting code into the web console is disabled
|
|
35
|
27
|
pref("devtools.selfxss.count", 0); |
browser/branding/mb-nightly/pref/firefox-branding.js
| ... |
... |
@@ -5,31 +5,23 @@ |
|
5
|
5
|
// This file contains branding-specific prefs.
|
|
6
|
6
|
|
|
7
|
7
|
pref("startup.homepage_override_url", "");
|
|
8
|
|
-pref("startup.homepage_welcome_url", "about:welcome");
|
|
9
|
|
-pref("startup.homepage_welcome_url.additional", "");
|
|
10
|
|
-// Interval: Time between checks for a new version (in seconds)
|
|
11
|
|
-pref("app.update.interval", 43200); // 12 hours
|
|
12
|
|
-// Give the user x seconds to react before showing the big UI. default=192 hours
|
|
13
|
|
-pref("app.update.promptWaitTime", 691200);
|
|
14
|
8
|
// app.update.url.manual: URL user can browse to manually if for some reason
|
|
15
|
9
|
// all update installation attempts fail.
|
|
16
|
10
|
// app.update.url.details: a default value for the "More information about this
|
|
17
|
11
|
// update" link supplied in the "An update is available" page of the update
|
|
18
|
12
|
// wizard.
|
|
19
|
|
-pref("app.update.url.manual", "https://www.mozilla.org/%LOCALE%/firefox/new?reason=manual-update");
|
|
20
|
|
-pref("app.update.url.details", "https://www.mozilla.org/%LOCALE%/firefox/notes");
|
|
21
|
|
-pref("app.releaseNotesURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew");
|
|
22
|
|
-pref("app.releaseNotesURL.aboutDialog", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog");
|
|
|
13
|
+pref("app.update.url.manual", "https://nightlies.tbb.torproject.org/");
|
|
|
14
|
+pref("app.update.url.details", "https://nightlies.tbb.torproject.org/");
|
|
|
15
|
+pref("app.releaseNotesURL", "about:blank");
|
|
|
16
|
+pref("app.releaseNotesURL.aboutDialog", "about:blank");
|
|
23
|
17
|
|
|
|
18
|
+// Interval: Time between checks for a new version (in seconds)
|
|
|
19
|
+pref("app.update.interval", 14400); // 4 hours
|
|
24
|
20
|
// The number of days a binary is permitted to be old
|
|
25
|
21
|
// without checking for an update. This assumes that
|
|
26
|
22
|
// app.update.checkInstallTime is true.
|
|
27
|
|
-pref("app.update.checkInstallTime.days", 63);
|
|
28
|
|
-
|
|
29
|
|
-// Give the user x seconds to reboot before showing a badge on the hamburger
|
|
30
|
|
-// button. default=4 days
|
|
31
|
|
-pref("app.update.badgeWaitTime", 345600);
|
|
|
23
|
+pref("app.update.checkInstallTime.days", 2);
|
|
32
|
24
|
|
|
33
|
25
|
// Number of usages of the web console.
|
|
34
|
26
|
// If this is less than 5, then pasting code into the web console is disabled
|
|
35
|
|
-pref("devtools.selfxss.count", 0); |
|
|
27
|
+pref("devtools.selfxss.count", 5); |
browser/branding/mb-release/pref/firefox-branding.js
| ... |
... |
@@ -5,31 +5,23 @@ |
|
5
|
5
|
// This file contains branding-specific prefs.
|
|
6
|
6
|
|
|
7
|
7
|
pref("startup.homepage_override_url", "");
|
|
8
|
|
-pref("startup.homepage_welcome_url", "about:welcome");
|
|
9
|
|
-pref("startup.homepage_welcome_url.additional", "");
|
|
10
|
|
-// Interval: Time between checks for a new version (in seconds)
|
|
11
|
|
-pref("app.update.interval", 43200); // 12 hours
|
|
12
|
|
-// Give the user x seconds to react before showing the big UI. default=192 hours
|
|
13
|
|
-pref("app.update.promptWaitTime", 691200);
|
|
14
|
8
|
// app.update.url.manual: URL user can browse to manually if for some reason
|
|
15
|
9
|
// all update installation attempts fail.
|
|
16
|
10
|
// app.update.url.details: a default value for the "More information about this
|
|
17
|
11
|
// update" link supplied in the "An update is available" page of the update
|
|
18
|
12
|
// wizard.
|
|
19
|
|
-pref("app.update.url.manual", "https://www.mozilla.org/%LOCALE%/firefox/new?reason=manual-update");
|
|
20
|
|
-pref("app.update.url.details", "https://www.mozilla.org/%LOCALE%/firefox/notes");
|
|
21
|
|
-pref("app.releaseNotesURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew");
|
|
22
|
|
-pref("app.releaseNotesURL.aboutDialog", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog");
|
|
|
13
|
+pref("app.update.url.manual", "https://mullvad.net/download/browser");
|
|
|
14
|
+pref("app.update.url.details", "https://mullvad.net/download/browser");
|
|
|
15
|
+pref("app.releaseNotesURL", "https://github.com/mullvad/mullvad-browser/releases/tag/%BB_VERSION%");
|
|
|
16
|
+pref("app.releaseNotesURL.aboutDialog", "https://github.com/mullvad/mullvad-browser/releases/tag/%BB_VERSION%");
|
|
23
|
17
|
|
|
|
18
|
+// Interval: Time between checks for a new version (in seconds)
|
|
|
19
|
+pref("app.update.interval", 43200); // 12 hours
|
|
24
|
20
|
// The number of days a binary is permitted to be old
|
|
25
|
21
|
// without checking for an update. This assumes that
|
|
26
|
22
|
// app.update.checkInstallTime is true.
|
|
27
|
23
|
pref("app.update.checkInstallTime.days", 63);
|
|
28
|
24
|
|
|
29
|
|
-// Give the user x seconds to reboot before showing a badge on the hamburger
|
|
30
|
|
-// button. default=4 days
|
|
31
|
|
-pref("app.update.badgeWaitTime", 345600);
|
|
32
|
|
-
|
|
33
|
25
|
// Number of usages of the web console.
|
|
34
|
26
|
// If this is less than 5, then pasting code into the web console is disabled
|
|
35
|
27
|
pref("devtools.selfxss.count", 0); |
|