Skip to content

Commit

Permalink
Build Phoenix 2025.01.22.2
Browse files Browse the repository at this point in the history
Signed-off-by: celenity <[email protected]>
  • Loading branch information
celenityy committed Jan 22, 2025
1 parent 988d9b6 commit f486604
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 66 deletions.
Binary file modified archives/phoenix.zip
Binary file not shown.
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.22.1", locked);
pref("browser.phoenix.version", "2025.01.22.2", locked);

// 000 ABOUT:CONFIG

Expand Down
53 changes: 23 additions & 30 deletions phoenix.cfg
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.

lockPref("browser.phoenix.version", "2025.01.22.1");
lockPref("browser.phoenix.version", "2025.01.22.2");

// 000 ABOUT:CONFIG

Expand Down Expand Up @@ -761,8 +761,12 @@ defaultPref("browser.safebrowsing.malware.enabled", true); // [DEFAULT]
defaultPref("browser.safebrowsing.phishing.enabled", true); // [DEFAULT]
defaultPref("browser.safebrowsing.provider.google.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2"); // [DEFAULT]
defaultPref("browser.safebrowsing.provider.google.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2&key=%GOOGLE_SAFEBROWSING_API_KEY%"); // [DEFAULT]
defaultPref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]
defaultPref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]

/// Proxy Safe Browsing
// These are using the servers we've set up for IronFox, hosted on our Cloudflare storage bucket (in EU jurisdiction)
defaultPref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.ironfoxoss.org/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
defaultPref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.ironfoxoss.org/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
/// Prevent sending metadata of downloaded files to Google
// https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work#w_how-does-phishing-and-malware-protection-work-in-firefox
Expand Down Expand Up @@ -2007,17 +2011,7 @@ lockPref("security.enterprise_roots.enabled", false);
defaultPref("browser.phoenix.desktop.common.status", "003");
// 004 SAFE BROWSING

/// Proxy Safe Browsing
// These are using the servers we've set up for IronFox, hosted on our Cloudflare storage bucket (in EU jurisdiction)
defaultPref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.ironfoxoss.org/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
defaultPref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.ironfoxoss.org/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
defaultPref("browser.phoenix.desktop.common.status", "004");
// 005 GEOLOCATION
// 004 GEOLOCATION
/// Blocks websites from accessing geolocation by default
Expand All @@ -2029,53 +2023,52 @@ defaultPref("geo.provider.ms-windows-location", false); // Disable Microsoft Loc
defaultPref("geo.provider.use_corelocation", true); // [DEFAULT] - Enable Apple Location Services for macOS
defaultPref("geo.provider.use_geoclue", true); // [DEFAULT] - Enable Geoclue for Linux distros
defaultPref("browser.phoenix.desktop.common.status", "005");
defaultPref("browser.phoenix.desktop.common.status", "004");
// 006 DISK AVOIDANCE
// 005 DISK AVOIDANCE
/// Prevent automatically starting Firefox & restoring session after reboot on Windows
defaultPref("toolkit.winRegisterApplicationRestart", false);
defaultPref("browser.phoenix.desktop.common.status", "006");
defaultPref("browser.phoenix.desktop.common.status", "005");
// 007 EXTENSIONS
// 006 EXTENSIONS
// Only allow signed language packs & whitelisted extensions...
lockPref("extensions.langpacks.signatures.required", true); // [DEFAULT]
lockPref("xpinstall.whitelist.required", true); // [DEFAULT]
defaultPref("browser.phoenix.desktop.common.status", "007");
defaultPref("browser.phoenix.desktop.common.status", "006");
// 008 ATTACK SURFACE REDUCTION
// 007 ATTACK SURFACE REDUCTION
/// Disable WebXR
// https://developer.mozilla.org/docs/Web/API/WebXR_Device_API
defaultPref("permissions.default.xr", 2);
defaultPref("browser.phoenix.desktop.common.status", "008");
defaultPref("browser.phoenix.desktop.common.status", "007");
// 009 MISC. SECURITY
// 008 MISC. SECURITY
/// Disable GNOME Integration
// https://searchfox.org/mozilla-central/source/browser/components/shell/nsGNOMEShellService.cpp
defaultPref("browser.gnome-search-provider.enabled", false);
defaultPref("browser.phoenix.desktop.common.status", "009");
defaultPref("browser.phoenix.desktop.common.status", "008");
// 010 MEDIA
// 009 MEDIA
/// Microsoft PlayReady DRM
defaultPref("media.eme.playready.enabled", false);
defaultPref("browser.phoenix.desktop.common.status", "010");
defaultPref("browser.phoenix.desktop.common.status", "009");
// 011 PERFORMANCE
// 010 PERFORMANCE
// A lot of these taken from https://github.com/yokoffing/Betterfox/blob/main/Fastfox.js
defaultPref("browser.cache.jsbc_compression_level", 3);
Expand All @@ -2086,9 +2079,9 @@ defaultPref("media.cache_resume_threshold", 3600);
defaultPref("media.ffmpeg.vaapi.enabled", true); // Enable VA-API by default
defaultPref("network.http.max-connections", 1800);
defaultPref("browser.phoenix.desktop.common.status", "011");
defaultPref("browser.phoenix.desktop.common.status", "010");
// 012 Personal Touch
// 011 Personal Touch
/// Enable Spellcheck for both multi-line and single-line boxes
// [Default = 1, only checks multi-line boxes]
Expand All @@ -2100,7 +2093,7 @@ defaultPref("layout.spellcheckDefault", 2);
defaultPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
defaultPref("browser.phoenix.desktop.common.status", "012");
defaultPref("browser.phoenix.desktop.common.status", "011");
lockPref("browser.phoenix.desktop.common.status", "successfully applied :D");
Expand Down
3 changes: 1 addition & 2 deletions policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -3046,8 +3046,7 @@
"*": {
"blocked_install_message": "I am Iron Man.",
"install_sources": [
"https://addons.mozilla.org/*/firefox/addon/*",
"https://addons.mozilla.org/firefox/downloads/file/*",
"https://addons.mozilla.org/*",
"https://agrd.io/extension_firefox_beta",
"https://archive.mozilla.org/pub/labs/*",
"https://archive.mozilla.org/pub/system-addons/*",
Expand Down
10 changes: 7 additions & 3 deletions prefs/phoenix-android.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.22.1", locked);
pref("browser.phoenix.version", "2025.01.22.2", locked);

// 000 ABOUT:CONFIG

Expand Down Expand Up @@ -761,8 +761,12 @@ pref("browser.safebrowsing.malware.enabled", true); // [DEFAULT]
pref("browser.safebrowsing.phishing.enabled", true); // [DEFAULT]
pref("browser.safebrowsing.provider.google.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2"); // [DEFAULT]
pref("browser.safebrowsing.provider.google.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2&key=%GOOGLE_SAFEBROWSING_API_KEY%"); // [DEFAULT]
pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]
pref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]

/// Proxy Safe Browsing
// These are using the servers we've set up for IronFox, hosted on our Cloudflare storage bucket (in EU jurisdiction)

pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.ironfoxoss.org/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
pref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.ironfoxoss.org/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");

/// Prevent sending metadata of downloaded files to Google
// https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work#w_how-does-phishing-and-malware-protection-work-in-firefox
Expand Down
53 changes: 23 additions & 30 deletions prefs/phoenix-desktop.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.22.1", locked);
pref("browser.phoenix.version", "2025.01.22.2", locked);

// 000 ABOUT:CONFIG

Expand Down Expand Up @@ -761,8 +761,12 @@ pref("browser.safebrowsing.malware.enabled", true); // [DEFAULT]
pref("browser.safebrowsing.phishing.enabled", true); // [DEFAULT]
pref("browser.safebrowsing.provider.google.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2"); // [DEFAULT]
pref("browser.safebrowsing.provider.google.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2&key=%GOOGLE_SAFEBROWSING_API_KEY%"); // [DEFAULT]
pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]
pref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"); // [DEFAULT]

/// Proxy Safe Browsing
// These are using the servers we've set up for IronFox, hosted on our Cloudflare storage bucket (in EU jurisdiction)

pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.ironfoxoss.org/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
pref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.ironfoxoss.org/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");

/// Prevent sending metadata of downloaded files to Google
// https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work#w_how-does-phishing-and-malware-protection-work-in-firefox
Expand Down Expand Up @@ -2007,17 +2011,7 @@ pref("security.enterprise_roots.enabled", false, locked);

pref("browser.phoenix.desktop.common.status", "003");

// 004 SAFE BROWSING

/// Proxy Safe Browsing
// These are using the servers we've set up for IronFox, hosted on our Cloudflare storage bucket (in EU jurisdiction)

pref("browser.safebrowsing.provider.google4.gethashURL", "https://safebrowsing.ironfoxoss.org/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");
pref("browser.safebrowsing.provider.google4.updateURL", "https://safebrowsing.ironfoxoss.org/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST");

pref("browser.phoenix.desktop.common.status", "004");

// 005 GEOLOCATION
// 004 GEOLOCATION

/// Blocks websites from accessing geolocation by default

Expand All @@ -2029,53 +2023,52 @@ pref("geo.provider.ms-windows-location", false); // Disable Microsoft Location S
pref("geo.provider.use_corelocation", true); // [DEFAULT] - Enable Apple Location Services for macOS
pref("geo.provider.use_geoclue", true); // [DEFAULT] - Enable Geoclue for Linux distros

pref("browser.phoenix.desktop.common.status", "005");
pref("browser.phoenix.desktop.common.status", "004");

// 006 DISK AVOIDANCE
// 005 DISK AVOIDANCE

/// Prevent automatically starting Firefox & restoring session after reboot on Windows

pref("toolkit.winRegisterApplicationRestart", false);

pref("browser.phoenix.desktop.common.status", "006");
pref("browser.phoenix.desktop.common.status", "005");

// 007 EXTENSIONS
// 006 EXTENSIONS

// Only allow signed language packs & whitelisted extensions...

pref("extensions.langpacks.signatures.required", true, locked); // [DEFAULT]
pref("xpinstall.whitelist.required", true, locked); // [DEFAULT]

pref("browser.phoenix.desktop.common.status", "007");
pref("browser.phoenix.desktop.common.status", "006");

// 008 ATTACK SURFACE REDUCTION
// 007 ATTACK SURFACE REDUCTION

/// Disable WebXR
// https://developer.mozilla.org/docs/Web/API/WebXR_Device_API

pref("permissions.default.xr", 2);

pref("browser.phoenix.desktop.common.status", "008");

pref("browser.phoenix.desktop.common.status", "007");

// 009 MISC. SECURITY
// 008 MISC. SECURITY

/// Disable GNOME Integration
// https://searchfox.org/mozilla-central/source/browser/components/shell/nsGNOMEShellService.cpp

pref("browser.gnome-search-provider.enabled", false);

pref("browser.phoenix.desktop.common.status", "009");
pref("browser.phoenix.desktop.common.status", "008");

// 010 MEDIA
// 009 MEDIA

/// Microsoft PlayReady DRM

pref("media.eme.playready.enabled", false);

pref("browser.phoenix.desktop.common.status", "010");
pref("browser.phoenix.desktop.common.status", "009");

// 011 PERFORMANCE
// 010 PERFORMANCE
// A lot of these taken from https://github.com/yokoffing/Betterfox/blob/main/Fastfox.js

pref("browser.cache.jsbc_compression_level", 3);
Expand All @@ -2086,9 +2079,9 @@ pref("media.cache_resume_threshold", 3600);
pref("media.ffmpeg.vaapi.enabled", true); // Enable VA-API by default
pref("network.http.max-connections", 1800);

pref("browser.phoenix.desktop.common.status", "011");
pref("browser.phoenix.desktop.common.status", "010");

// 012 Personal Touch
// 011 Personal Touch

/// Enable Spellcheck for both multi-line and single-line boxes
// [Default = 1, only checks multi-line boxes]
Expand All @@ -2100,7 +2093,7 @@ pref("layout.spellcheckDefault", 2);

pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);

pref("browser.phoenix.desktop.common.status", "012");
pref("browser.phoenix.desktop.common.status", "011");

pref("browser.phoenix.desktop.common.status", "successfully applied :D", locked);

Expand Down

0 comments on commit f486604

Please sign in to comment.