Skip to content

Commit

Permalink
Build Phoenix 2025.01.30.1
Browse files Browse the repository at this point in the history
Signed-off-by: celenity <[email protected]>
  • Loading branch information
celenityy committed Jan 30, 2025
1 parent eead7f2 commit 9eafb88
Show file tree
Hide file tree
Showing 21 changed files with 767 additions and 463 deletions.
Binary file modified archives/phoenix.zip
Binary file not shown.
47 changes: 26 additions & 21 deletions build/configs/specialized-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@ defaultPref("webgl.disabled", true);
defaultPref("browser.phoenix.extended.core.status", "001");

// 002 WEBRTC
// This will likely break WebRTC...

/// Never leak IP addresses, even in trusted scenarios
// This *will* break WebRTC

/// Force a single candidate for ICE generation
defaultPref("media.peerconnection.ice.default_address_only", true);

/// Forcefully exclude local IP addresses, even in trusted scenarios
defaultPref("media.peerconnection.ice.no_host", true);

/// Only use TURN servers/relays, no p2p...
// https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/issues/40#note_2884663
defaultPref("media.peerconnection.ice.relay_only", true);

defaultPref("browser.phoenix.extended.core.status", "002");

// 003 MISC. PRIVACY
Expand Down Expand Up @@ -132,27 +137,27 @@ lockPref("browser.phoenix.extended.desktop.status", "successfully applied :D");
defaultPref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
lockPref("browser.phoenix.cfg.specialized.status", "001");
defaultPref("browser.phoenix.cfg.specialized.status", "001");
// 002 Disable Reader Mode
defaultPref("reader.parse-on-load.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "002");
defaultPref("browser.phoenix.cfg.specialized.status", "002");
// 003 Disable Printing
defaultPref("print.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "003");
defaultPref("browser.phoenix.cfg.specialized.status", "003");
// 004 Reset Phoenix's FPP overrides + disable Mozilla's remote overrides
// Unnecessary/undesired for our use case...
defaultPref("privacy.fingerprintingProtection.granularOverrides", ""); // [DEFAULT]
defaultPref("privacy.fingerprintingProtection.remoteOverrides.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "004");
defaultPref("browser.phoenix.cfg.specialized.status", "004");
// 005 Disable Gecko Media Plugins & OpenH264
Expand All @@ -161,55 +166,55 @@ defaultPref("media.gmp-gmpopenh264.provider.enabled", false);
defaultPref("media.gmp-gmpopenh264.visible", false);
defaultPref("media.gmp-provider.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "005");
defaultPref("browser.phoenix.cfg.specialized.status", "005");
// 006 Remove undesired links & connections
defaultPref("app.feedback.baseURL", "");
defaultPref("app.support.baseURL", "");
defaultPref("browser.geolocation.warning.infoURL", "");
lockPref("browser.phoenix.cfg.specialized.status", "006");
defaultPref("browser.phoenix.cfg.specialized.status", "006");
// 007 Fully disable browsing history
defaultPref("places.history.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "007");
defaultPref("browser.phoenix.cfg.specialized.status", "007");
// 008 Remove unnecessary URL Bar shortcuts
defaultPref("browser.urlbar.shortcuts.bookmarks", false);
defaultPref("browser.urlbar.shortcuts.history", false);
defaultPref("browser.urlbar.shortcuts.tabs", false);
lockPref("browser.phoenix.cfg.specialized.status", "008");
defaultPref("browser.phoenix.cfg.specialized.status", "008");
// 009 Never back-up/export bookmarks
defaultPref("browser.bookmarks.autoExportHTML", false);
defaultPref("browser.bookmarks.max_backups", 0);
lockPref("browser.phoenix.cfg.specialized.status", "009");
defaultPref("browser.phoenix.cfg.specialized.status", "009");
// 010 Disable image placeholders
defaultPref("browser.display.show_image_placeholders", false);
lockPref("browser.phoenix.cfg.specialized.status", "010");
defaultPref("browser.phoenix.cfg.specialized.status", "010");
// 011 Never show "Other Bookmarks"
defaultPref("browser.toolbars.bookmarks.showOtherBookmarks", false);
lockPref("browser.phoenix.cfg.specialized.status", "011");
defaultPref("browser.phoenix.cfg.specialized.status", "011");
// 012 Prevent caching previous tabs
defaultPref("browser.sessionstore.max_tabs_undo", 0);
defaultPref("browser.sessionhistory.max_total_viewers", 0);
lockPref("browser.phoenix.cfg.specialized.status", "012");
defaultPref("browser.phoenix.cfg.specialized.status", "012");
// 013 Disable Cookie Banner Blocking, no point
Expand All @@ -221,7 +226,7 @@ defaultPref("cookiebanners.service.mode", 0);
defaultPref("cookiebanners.service.mode.privateBrowsing", 0);
defaultPref("cookiebanners.ui.desktop.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "013");
defaultPref("browser.phoenix.cfg.specialized.status", "013");
// 014 Misc. URL Bar Suggestions
Expand All @@ -239,27 +244,27 @@ defaultPref("browser.urlbar.suggest.remotetab", false);
defaultPref("browser.urlbar.unitConversion.enabled", false);
defaultPref("keyword.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "014");
defaultPref("browser.phoenix.cfg.specialized.status", "014");
// 015 No Android Debugging
defaultPref("devtools.remote.adb.extensionID", "");
defaultPref("devtools.remote.adb.extensionURL", "");
lockPref("browser.phoenix.cfg.specialized.status", "015");
defaultPref("browser.phoenix.cfg.specialized.status", "015");
// 016 Disable Quarantined Domains (Unnecessary for our use case...)
defaultPref("extensions.quarantinedDomains.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "016");
defaultPref("browser.phoenix.cfg.specialized.status", "016");
// 017 Disable Animations
defaultPref("toolkit.cosmeticAnimations.enabled", false);
defaultPref("ui.prefersReducedMotion", 1);
lockPref("browser.phoenix.cfg.specialized.status", "017");
defaultPref("browser.phoenix.cfg.specialized.status", "017");
// 018 Disable 'Migration' functionality...
Expand Down Expand Up @@ -290,6 +295,6 @@ defaultPref("browser.migrate.preferences-entrypoint.enabled", false);
defaultPref("browser.migrate.safari.enabled", false);
defaultPref("browser.migrate.vivaldi.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "018");
defaultPref("browser.phoenix.cfg.specialized.status", "018");
lockPref("browser.phoenix.cfg.specialized.status", "successfully applied :D");
2 changes: 1 addition & 1 deletion build/prefs/phoenix-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Welcome to the heart of the Phoenix.
// This file contains preferences shared across all Phoenix configs, platforms (Desktop & Android), and Dove.

pref("browser.phoenix.version", "2025.01.27.1", locked);
pref("browser.phoenix.version", "2025.01.30.1", locked);

// 000 ABOUT:CONFIG

Expand Down
63 changes: 38 additions & 25 deletions configs/discord.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@ defaultPref("webgl.disabled", true);
defaultPref("browser.phoenix.extended.core.status", "001");

// 002 WEBRTC
// This will likely break WebRTC...

/// Never leak IP addresses, even in trusted scenarios
// This *will* break WebRTC

/// Force a single candidate for ICE generation
defaultPref("media.peerconnection.ice.default_address_only", true);

/// Forcefully exclude local IP addresses, even in trusted scenarios
defaultPref("media.peerconnection.ice.no_host", true);

/// Only use TURN servers/relays, no p2p...
// https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/issues/40#note_2884663
defaultPref("media.peerconnection.ice.relay_only", true);

defaultPref("browser.phoenix.extended.core.status", "002");

// 003 MISC. PRIVACY
Expand Down Expand Up @@ -132,27 +137,27 @@ lockPref("browser.phoenix.extended.desktop.status", "successfully applied :D");
defaultPref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
lockPref("browser.phoenix.cfg.specialized.status", "001");
defaultPref("browser.phoenix.cfg.specialized.status", "001");
// 002 Disable Reader Mode
defaultPref("reader.parse-on-load.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "002");
defaultPref("browser.phoenix.cfg.specialized.status", "002");
// 003 Disable Printing
defaultPref("print.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "003");
defaultPref("browser.phoenix.cfg.specialized.status", "003");
// 004 Reset Phoenix's FPP overrides + disable Mozilla's remote overrides
// Unnecessary/undesired for our use case...
defaultPref("privacy.fingerprintingProtection.granularOverrides", ""); // [DEFAULT]
defaultPref("privacy.fingerprintingProtection.remoteOverrides.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "004");
defaultPref("browser.phoenix.cfg.specialized.status", "004");
// 005 Disable Gecko Media Plugins & OpenH264
Expand All @@ -161,55 +166,55 @@ defaultPref("media.gmp-gmpopenh264.provider.enabled", false);
defaultPref("media.gmp-gmpopenh264.visible", false);
defaultPref("media.gmp-provider.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "005");
defaultPref("browser.phoenix.cfg.specialized.status", "005");
// 006 Remove undesired links & connections
defaultPref("app.feedback.baseURL", "");
defaultPref("app.support.baseURL", "");
defaultPref("browser.geolocation.warning.infoURL", "");
lockPref("browser.phoenix.cfg.specialized.status", "006");
defaultPref("browser.phoenix.cfg.specialized.status", "006");
// 007 Fully disable browsing history
defaultPref("places.history.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "007");
defaultPref("browser.phoenix.cfg.specialized.status", "007");
// 008 Remove unnecessary URL Bar shortcuts
defaultPref("browser.urlbar.shortcuts.bookmarks", false);
defaultPref("browser.urlbar.shortcuts.history", false);
defaultPref("browser.urlbar.shortcuts.tabs", false);
lockPref("browser.phoenix.cfg.specialized.status", "008");
defaultPref("browser.phoenix.cfg.specialized.status", "008");
// 009 Never back-up/export bookmarks
defaultPref("browser.bookmarks.autoExportHTML", false);
defaultPref("browser.bookmarks.max_backups", 0);
lockPref("browser.phoenix.cfg.specialized.status", "009");
defaultPref("browser.phoenix.cfg.specialized.status", "009");
// 010 Disable image placeholders
defaultPref("browser.display.show_image_placeholders", false);
lockPref("browser.phoenix.cfg.specialized.status", "010");
defaultPref("browser.phoenix.cfg.specialized.status", "010");
// 011 Never show "Other Bookmarks"
defaultPref("browser.toolbars.bookmarks.showOtherBookmarks", false);
lockPref("browser.phoenix.cfg.specialized.status", "011");
defaultPref("browser.phoenix.cfg.specialized.status", "011");
// 012 Prevent caching previous tabs
defaultPref("browser.sessionstore.max_tabs_undo", 0);
defaultPref("browser.sessionhistory.max_total_viewers", 0);
lockPref("browser.phoenix.cfg.specialized.status", "012");
defaultPref("browser.phoenix.cfg.specialized.status", "012");
// 013 Disable Cookie Banner Blocking, no point
Expand All @@ -221,7 +226,7 @@ defaultPref("cookiebanners.service.mode", 0);
defaultPref("cookiebanners.service.mode.privateBrowsing", 0);
defaultPref("cookiebanners.ui.desktop.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "013");
defaultPref("browser.phoenix.cfg.specialized.status", "013");
// 014 Misc. URL Bar Suggestions
Expand All @@ -239,27 +244,27 @@ defaultPref("browser.urlbar.suggest.remotetab", false);
defaultPref("browser.urlbar.unitConversion.enabled", false);
defaultPref("keyword.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "014");
defaultPref("browser.phoenix.cfg.specialized.status", "014");
// 015 No Android Debugging
defaultPref("devtools.remote.adb.extensionID", "");
defaultPref("devtools.remote.adb.extensionURL", "");
lockPref("browser.phoenix.cfg.specialized.status", "015");
defaultPref("browser.phoenix.cfg.specialized.status", "015");
// 016 Disable Quarantined Domains (Unnecessary for our use case...)
defaultPref("extensions.quarantinedDomains.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "016");
defaultPref("browser.phoenix.cfg.specialized.status", "016");
// 017 Disable Animations
defaultPref("toolkit.cosmeticAnimations.enabled", false);
defaultPref("ui.prefersReducedMotion", 1);
lockPref("browser.phoenix.cfg.specialized.status", "017");
defaultPref("browser.phoenix.cfg.specialized.status", "017");
// 018 Disable 'Migration' functionality...
Expand Down Expand Up @@ -290,7 +295,7 @@ defaultPref("browser.migrate.preferences-entrypoint.enabled", false);
defaultPref("browser.migrate.safari.enabled", false);
defaultPref("browser.migrate.vivaldi.enabled", false);
lockPref("browser.phoenix.cfg.specialized.status", "018");
defaultPref("browser.phoenix.cfg.specialized.status", "018");
lockPref("browser.phoenix.cfg.specialized.status", "successfully applied :D");
Expand All @@ -303,26 +308,34 @@ lockPref("browser.phoenix.cfg.specialized.status", "successfully applied :D");
defaultPref("browser.newtabpage.activity-stream.default.sites", "https://discord.com/channels/@me");
lockPref("browser.phoenix.cfg.discord.status", "001");
defaultPref("browser.phoenix.cfg.discord.status", "001");
// 002 Unbreak calling
defaultPref("media.peerconnection.enabled", true); // [DEFAULT]
defaultPref("media.peerconnection.ice.default_address_only", false); // [DEFAULT]
defaultPref("media.peerconnection.ice.no_host", false); // [DEFAULT]
defaultPref("media.peerconnection.ice.relay_only", false); // [DEFAULT]
lockPref("browser.phoenix.cfg.discord.status", "002");
defaultPref("browser.phoenix.cfg.discord.status", "002");
// 003 Don't block microphone & camera permission by default...

defaultPref("permissions.default.camera", 0); // [DEFAULT]
defaultPref("permissions.default.microphone", 0); // [DEFAULT]

lockPref("browser.phoenix.cfg.discord.status", "003");
defaultPref("browser.phoenix.cfg.discord.status", "003");

// 004 Allow hijacking keyboard shortcuts

defaultPref("permissions.default.shortcuts", 0); // [DEFAULT]

lockPref("browser.phoenix.cfg.discord.status", "004");
defaultPref("browser.phoenix.cfg.discord.status", "004");

// 005 Disable timezone spoofing for Discord...

defaultPref("privacy.fingerprintingProtection.granularOverrides", "[{\"firstPartyDomain\": \"discord.com\", \"overrides\": \"-JSDateTimeUTC\"}]");

defaultPref("browser.phoenix.cfg.discord.status", "005");

lockPref("browser.phoenix.cfg.discord.status", "successfully applied :D");
Loading

0 comments on commit 9eafb88

Please sign in to comment.