Loading browser/app/profile/000-mullvad-browser.js 0 → 100644 +12 −0 Original line number Diff line number Diff line // Preferences specific to 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. pref("browser.toolbars.bookmarks.visibility", "never"); // privacy-browser#19: Enable Mullvad's DOH pref("network.trr.uri", "https://doh.mullvad.net/dns-query"); pref("network.trr.default_provider_uri", "https://doh.mullvad.net/dns-query"); pref("network.trr.mode", 3); pref("doh-rollout.provider-list", "[{\"UIName\":\"Mullvad\",\"autoDefault\":true,\"canonicalName\":\"\",\"id\":\"mullvad\",\"last_modified\":0,\"schema\":0,\"uri\":\"https://doh.mullvad.net/dns-query\"},{\"UIName\":\"Mullvad (Ad-blocking)\",\"autoDefault\":false,\"canonicalName\":\"\",\"id\":\"mullvad\",\"last_modified\":0,\"schema\":0,\"uri\":\"https://adblock.doh.mullvad.net/dns-query\"}]"); browser/config/mozconfigs/base-browser +0 −4 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-crashreporter # Before removing, please notice that WebRTC does not work on mingw (Bug 1393901) ac_add_options --disable-webrtc ac_add_options --disable-parental-controls # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme Loading @@ -44,5 +42,3 @@ ac_add_options MOZ_TELEMETRY_REPORTING= if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi ac_add_options --with-relative-data-dir=BaseBrowser/Data/Browser browser/config/mozconfigs/mullvad-browser 0 → 100644 +10 −0 Original line number Diff line number Diff line . $topsrcdir/browser/config/mozconfigs/base-browser export MOZ_APP_BASENAME=PrivacyBrowser mk_add_options MOZ_APP_DISPLAYNAME="Mullvad Browser" ac_add_options --with-user-appdir=Mullvad ac_add_options --with-relative-data-dir=../Data ac_add_options --with-distribution-id=net.mullvad browser/installer/package-manifest.in +1 −0 Original line number Diff line number Diff line Loading @@ -278,6 +278,7 @@ @RESPATH@/browser/defaults/settings/blocklists @RESPATH@/browser/defaults/settings/main @RESPATH@/browser/defaults/settings/security-state @RESPATH@/browser/@PREF_DIR@/000-mullvad-browser.js @RESPATH@/browser/@PREF_DIR@/001-base-profile.js ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325) Loading browser/moz.build +3 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,9 @@ JS_PREFERENCE_PP_FILES += [ "app/profile/001-base-profile.js", "app/profile/firefox.js", ] JS_PREFERENCE_FILES += [ "app/profile/000-mullvad-browser.js", ] FINAL_TARGET_FILES.defaults += ["app/permissions"] with Files("**"): Loading Loading
browser/app/profile/000-mullvad-browser.js 0 → 100644 +12 −0 Original line number Diff line number Diff line // Preferences specific to 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. pref("browser.toolbars.bookmarks.visibility", "never"); // privacy-browser#19: Enable Mullvad's DOH pref("network.trr.uri", "https://doh.mullvad.net/dns-query"); pref("network.trr.default_provider_uri", "https://doh.mullvad.net/dns-query"); pref("network.trr.mode", 3); pref("doh-rollout.provider-list", "[{\"UIName\":\"Mullvad\",\"autoDefault\":true,\"canonicalName\":\"\",\"id\":\"mullvad\",\"last_modified\":0,\"schema\":0,\"uri\":\"https://doh.mullvad.net/dns-query\"},{\"UIName\":\"Mullvad (Ad-blocking)\",\"autoDefault\":false,\"canonicalName\":\"\",\"id\":\"mullvad\",\"last_modified\":0,\"schema\":0,\"uri\":\"https://adblock.doh.mullvad.net/dns-query\"}]");
browser/config/mozconfigs/base-browser +0 −4 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-crashreporter # Before removing, please notice that WebRTC does not work on mingw (Bug 1393901) ac_add_options --disable-webrtc ac_add_options --disable-parental-controls # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme Loading @@ -44,5 +42,3 @@ ac_add_options MOZ_TELEMETRY_REPORTING= if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi ac_add_options --with-relative-data-dir=BaseBrowser/Data/Browser
browser/config/mozconfigs/mullvad-browser 0 → 100644 +10 −0 Original line number Diff line number Diff line . $topsrcdir/browser/config/mozconfigs/base-browser export MOZ_APP_BASENAME=PrivacyBrowser mk_add_options MOZ_APP_DISPLAYNAME="Mullvad Browser" ac_add_options --with-user-appdir=Mullvad ac_add_options --with-relative-data-dir=../Data ac_add_options --with-distribution-id=net.mullvad
browser/installer/package-manifest.in +1 −0 Original line number Diff line number Diff line Loading @@ -278,6 +278,7 @@ @RESPATH@/browser/defaults/settings/blocklists @RESPATH@/browser/defaults/settings/main @RESPATH@/browser/defaults/settings/security-state @RESPATH@/browser/@PREF_DIR@/000-mullvad-browser.js @RESPATH@/browser/@PREF_DIR@/001-base-profile.js ; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325) Loading
browser/moz.build +3 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,9 @@ JS_PREFERENCE_PP_FILES += [ "app/profile/001-base-profile.js", "app/profile/firefox.js", ] JS_PREFERENCE_FILES += [ "app/profile/000-mullvad-browser.js", ] FINAL_TARGET_FILES.defaults += ["app/permissions"] with Files("**"): Loading