Loading browser/app/profile/000-mullvad-browser.js +8 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,11 @@ pref("privacy.spoof_english", 2); // mullvad-browser#222: Hide "List all tabs" when the tabs don't overflow pref("browser.tabs.tabmanager.enabled", false); // mullvad-browser#131: Review a few updater preferences pref("app.update.notifyDuringDownload", true); pref("app.update.url.manual", "https://mullvad.net/download/browser"); pref("app.update.url.details", "https://mullvad.net/download/browser"); pref("app.update.badgeWaitTime", 0); // point to our feedback url rather than Mozilla's pref("app.feedback.baseURL", "https://mullvad.net/help/tag/browser/"); browser/components/BrowserContentHandler.sys.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ ChromeUtils.defineLazyGetter(lazy, "gWindowsAlertsService", () => { }); const FORK_VERSION_PREF = "browser.startup.homepage_override.basebrowser.version"; "browser.startup.homepage_override.mullvadbrowser.version"; // One-time startup homepage override configurations const ONCE_DOMAINS = new Set(["mozilla.org", "firefox.com"]); Loading browser/installer/windows/nsis/updater_append.ini +3 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ [PostUpdateWin] ; ExeRelPath is the path to the PostUpdateWin executable relative to the ; application executable. ExeRelPath=uninstall\helper.exe ExeRelPath=postupdate.exe ; ExeArg is the argument to pass to the PostUpdateWin exe ; We do not need any argument, but an empty string here will make updater.exe ; not run this step. ExeArg=/PostUpdate toolkit/mozapps/extensions/AddonManager.sys.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ const PREF_EM_CHECK_UPDATE_SECURITY = "extensions.checkUpdateSecurity"; const PREF_SYS_ADDON_UPDATE_ENABLED = "extensions.systemAddon.update.enabled"; const PREF_REMOTESETTINGS_DISABLED = "extensions.remoteSettings.disabled"; const PREF_USE_REMOTE = "extensions.webextensions.remote"; const PREF_EM_LAST_FORK_VERSION = "extensions.lastBaseBrowserVersion"; const PREF_EM_LAST_FORK_VERSION = "extensions.lastMullvadBrowserVersion"; const PREF_MIN_WEBEXT_PLATFORM_VERSION = "extensions.webExtensionsMinPlatformVersion"; Loading toolkit/xre/nsAppRunner.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -3563,7 +3563,7 @@ static bool CheckCompatibility(nsIFile* aProfileDir, const nsCString& aVersion, nsAutoCString buf; nsAutoCString forkVersion(BASE_BROWSER_VERSION_QUOTED); rv = parser.GetString("Compatibility", "LastBaseBrowserVersion", buf); rv = parser.GetString("Compatibility", "LastMullvadBrowserVersion", buf); if (NS_FAILED(rv) || !forkVersion.Equals(buf)) return false; rv = parser.GetString("Compatibility", "LastOSABI", buf); Loading Loading @@ -3647,7 +3647,7 @@ static void WriteVersion(nsIFile* aProfileDir, const nsCString& aVersion, nsAutoCString forkVersion(BASE_BROWSER_VERSION_QUOTED); static const char kForkVersionHeader[] = NS_LINEBREAK "LastBaseBrowserVersion="; NS_LINEBREAK "LastMullvadBrowserVersion="; PR_Write(fd, kForkVersionHeader, sizeof(kForkVersionHeader) - 1); PR_Write(fd, forkVersion.get(), forkVersion.Length()); Loading Loading
browser/app/profile/000-mullvad-browser.js +8 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,11 @@ pref("privacy.spoof_english", 2); // mullvad-browser#222: Hide "List all tabs" when the tabs don't overflow pref("browser.tabs.tabmanager.enabled", false); // mullvad-browser#131: Review a few updater preferences pref("app.update.notifyDuringDownload", true); pref("app.update.url.manual", "https://mullvad.net/download/browser"); pref("app.update.url.details", "https://mullvad.net/download/browser"); pref("app.update.badgeWaitTime", 0); // point to our feedback url rather than Mozilla's pref("app.feedback.baseURL", "https://mullvad.net/help/tag/browser/");
browser/components/BrowserContentHandler.sys.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ ChromeUtils.defineLazyGetter(lazy, "gWindowsAlertsService", () => { }); const FORK_VERSION_PREF = "browser.startup.homepage_override.basebrowser.version"; "browser.startup.homepage_override.mullvadbrowser.version"; // One-time startup homepage override configurations const ONCE_DOMAINS = new Set(["mozilla.org", "firefox.com"]); Loading
browser/installer/windows/nsis/updater_append.ini +3 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,8 @@ [PostUpdateWin] ; ExeRelPath is the path to the PostUpdateWin executable relative to the ; application executable. ExeRelPath=uninstall\helper.exe ExeRelPath=postupdate.exe ; ExeArg is the argument to pass to the PostUpdateWin exe ; We do not need any argument, but an empty string here will make updater.exe ; not run this step. ExeArg=/PostUpdate
toolkit/mozapps/extensions/AddonManager.sys.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ const PREF_EM_CHECK_UPDATE_SECURITY = "extensions.checkUpdateSecurity"; const PREF_SYS_ADDON_UPDATE_ENABLED = "extensions.systemAddon.update.enabled"; const PREF_REMOTESETTINGS_DISABLED = "extensions.remoteSettings.disabled"; const PREF_USE_REMOTE = "extensions.webextensions.remote"; const PREF_EM_LAST_FORK_VERSION = "extensions.lastBaseBrowserVersion"; const PREF_EM_LAST_FORK_VERSION = "extensions.lastMullvadBrowserVersion"; const PREF_MIN_WEBEXT_PLATFORM_VERSION = "extensions.webExtensionsMinPlatformVersion"; Loading
toolkit/xre/nsAppRunner.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -3563,7 +3563,7 @@ static bool CheckCompatibility(nsIFile* aProfileDir, const nsCString& aVersion, nsAutoCString buf; nsAutoCString forkVersion(BASE_BROWSER_VERSION_QUOTED); rv = parser.GetString("Compatibility", "LastBaseBrowserVersion", buf); rv = parser.GetString("Compatibility", "LastMullvadBrowserVersion", buf); if (NS_FAILED(rv) || !forkVersion.Equals(buf)) return false; rv = parser.GetString("Compatibility", "LastOSABI", buf); Loading Loading @@ -3647,7 +3647,7 @@ static void WriteVersion(nsIFile* aProfileDir, const nsCString& aVersion, nsAutoCString forkVersion(BASE_BROWSER_VERSION_QUOTED); static const char kForkVersionHeader[] = NS_LINEBREAK "LastBaseBrowserVersion="; NS_LINEBREAK "LastMullvadBrowserVersion="; PR_Write(fd, kForkVersionHeader, sizeof(kForkVersionHeader) - 1); PR_Write(fd, forkVersion.get(), forkVersion.Length()); Loading