Loading browser/app/profile/000-mullvad-browser.js +2 −0 Original line number Diff line number Diff line // Preferences specific to Mullvad Browser pref("browser.startup.homepage", "about:mullvad-browser"); // Do not show the bookmark panel for now, because it makes the initial browser // window (about:home) bigger, and regular pages will show letterbox margins as // a result. Loading browser/base/content/browser.js +2 −0 Original line number Diff line number Diff line Loading @@ -638,6 +638,7 @@ async function gLazyFindCommand(cmd, ...args) { } var gPageIcons = { "about:mullvad-browser": "chrome://branding/content/icon32.png", "about:home": "chrome://branding/content/icon32.png", "about:newtab": "chrome://branding/content/icon32.png", "about:welcome": "chrome://branding/content/icon32.png", Loading @@ -645,6 +646,7 @@ var gPageIcons = { }; var gInitialPages = [ "about:mullvad-browser", "about:blank", "about:home", ...(AppConstants.NIGHTLY_BUILD ? ["about:firefoxview"] : []), Loading browser/components/about/AboutRedirector.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,11 @@ static const RedirEntry kRedirMap[] = { nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"restartrequired", "chrome://browser/content/aboutRestartRequired.xhtml", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"mullvad-browser", "chrome://browser/content/mullvad-browser/aboutMullvadBrowser.xhtml", nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::IS_SECURE_CHROME_UI}, }; static nsAutoCString GetAboutModuleName(nsIURI* aURI) { Loading browser/components/about/components.conf +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ pages = [ 'logins', 'loginsimportreport', 'firefoxview', 'mullvad-browser', 'newtab', 'pocket-home', 'pocket-saved', Loading browser/components/moz.build +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ DIRS += [ "extensions", "pagedata", "migration", "mullvad-browser", "newidentity", "newtab", "originattributes", Loading Loading
browser/app/profile/000-mullvad-browser.js +2 −0 Original line number Diff line number Diff line // Preferences specific to Mullvad Browser pref("browser.startup.homepage", "about:mullvad-browser"); // Do not show the bookmark panel for now, because it makes the initial browser // window (about:home) bigger, and regular pages will show letterbox margins as // a result. Loading
browser/base/content/browser.js +2 −0 Original line number Diff line number Diff line Loading @@ -638,6 +638,7 @@ async function gLazyFindCommand(cmd, ...args) { } var gPageIcons = { "about:mullvad-browser": "chrome://branding/content/icon32.png", "about:home": "chrome://branding/content/icon32.png", "about:newtab": "chrome://branding/content/icon32.png", "about:welcome": "chrome://branding/content/icon32.png", Loading @@ -645,6 +646,7 @@ var gPageIcons = { }; var gInitialPages = [ "about:mullvad-browser", "about:blank", "about:home", ...(AppConstants.NIGHTLY_BUILD ? ["about:firefoxview"] : []), Loading
browser/components/about/AboutRedirector.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,11 @@ static const RedirEntry kRedirMap[] = { nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"restartrequired", "chrome://browser/content/aboutRestartRequired.xhtml", nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::HIDE_FROM_ABOUTABOUT}, {"mullvad-browser", "chrome://browser/content/mullvad-browser/aboutMullvadBrowser.xhtml", nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT | nsIAboutModule::IS_SECURE_CHROME_UI}, }; static nsAutoCString GetAboutModuleName(nsIURI* aURI) { Loading
browser/components/about/components.conf +1 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ pages = [ 'logins', 'loginsimportreport', 'firefoxview', 'mullvad-browser', 'newtab', 'pocket-home', 'pocket-saved', Loading
browser/components/moz.build +1 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ DIRS += [ "extensions", "pagedata", "migration", "mullvad-browser", "newidentity", "newtab", "originattributes", Loading