Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
⬆️ Upgrade to firefox 121.0
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Dec 24, 2023
1 parent 81068bd commit c563b05
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.0-a.88

## Changed

- Update to firefox `121.0`
- Bump to preprelease betterfox

## 1.0.0-a.84

### Added
Expand Down
2 changes: 1 addition & 1 deletion gluon.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"binaryName": "pulse-browser",
"version": {
"product": "firefox",
"version": "120.0"
"version": "121.0"
},
"buildOptions": {
"generateBranding": true
Expand Down
22 changes: 10 additions & 12 deletions src/browser/app/profile/better-fox.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/****************************************************************************
* Betterfox *
* "Ad meliora" *
* version: 119 *
* version: 121 *
* url: https://github.com/yokoffing/Betterfox *
****************************************************************************/

Expand All @@ -50,8 +50,8 @@ pref('gfx.canvas.accelerated.cache-items', 4096);
pref('gfx.canvas.accelerated.cache-size', 512);
pref('gfx.content.skia-font-cache-size', 20);

/** BROWSER CACHE ***/
pref('browser.cache.disk.enable', false);
/** DISK CACHE ***/
pref('browser.cache.jsbc_compression_level', 3);

/** MEDIA CACHE ***/
pref('media.memory_cache_max_size', 65536);
Expand All @@ -68,15 +68,14 @@ pref('network.http.max-connections', 1800);
pref('network.http.max-persistent-connections-per-server', 10);
pref('network.http.max-urgent-start-excessive-connections-per-host', 5);
pref('network.http.pacing.requests.enabled', false);
pref('network.dnsCacheExpiration', 86400);
pref('network.dnsCacheExpiration', 3600);
pref('network.dns.max_high_priority_threads', 8);
pref('network.ssl_tokens_cache_capacity', 10240);

/** IMPLICIT OUTBOUND ***/
/** SPECULATIVE LOADING ***/
pref('network.dns.disablePrefetch', true);
pref('network.prefetch-next', false);
pref('network.predictor.enabled', false);
pref('network.predictor.enable-prefetch', false);

/** EXPERIMENTAL ***/
pref('layout.css.grid-template-masonry-value.enabled', true);
Expand All @@ -102,7 +101,6 @@ pref('browser.download.start_downloads_in_tmp_dir', true);
pref('browser.helperApps.deleteTempFileOnExit', true);
pref('browser.uitour.enabled', false);
pref('privacy.globalprivacycontrol.enabled', true);
pref('privacy.globalprivacycontrol.functionality.enabled', true);

/** OCSP & CERTS / HPKP ***/
pref('security.OCSP.enabled', 0);
Expand Down Expand Up @@ -134,6 +132,7 @@ pref('network.IDN_show_punycode', true);

/** HTTPS-FIRST POLICY ***/
pref('dom.security.https_first', true);
pref('dom.security.https_first_schemeless', true);

/** PASSWORDS ***/
pref('signon.rememberSignons', false);
Expand All @@ -149,6 +148,7 @@ pref('extensions.formautofill.creditCards.enabled', false);
/** MIXED CONTENT + CROSS-SITE ***/
pref('security.mixed_content.block_display_content', true);
pref('security.mixed_content.upgrade_display_content', true);
pref('security.mixed_content.upgrade_display_content.image', true);
pref('pdfjs.enableScripting', false);
pref('extensions.postDownloadThirdPartyPrompt', false);

Expand Down Expand Up @@ -240,18 +240,16 @@ pref('browser.privateWindowSeparation.enabled', false); // WINDOWS
/** COOKIE BANNER HANDLING ***/
pref('cookiebanners.service.mode', 1);
pref('cookiebanners.service.mode.privateBrowsing', 1);
pref('cookiebanners.service.enableGlobalRules', true);

/** FULLSCREEN NOTICE ***/
pref('full-screen-api.transition-duration.enter', '25 25');
pref('full-screen-api.transition-duration.leave', '25 25');
pref('full-screen-api.transition-duration.enter', '0 0');
pref('full-screen-api.transition-duration.leave', '0 0');
pref('full-screen-api.warning.delay', -1);
pref('full-screen-api.warning.timeout', 0);

/** URL BAR ***/
pref('browser.urlbar.suggest.calculator', true);
pref('browser.urlbar.unitConversion.enabled', true);
pref('browser.urlbar.suggest.topsites', false);
pref('browser.urlbar.trending.featureGate', false);

/** NEW TAB PAGE ***/
Expand All @@ -262,7 +260,6 @@ pref('browser.newtabpage.activity-stream.feeds.section.topstories', false);
pref('extensions.pocket.enabled', false);

/** DOWNLOADS ***/
pref('browser.download.useDownloadDir', false);
pref('browser.download.always_ask_before_handling_new_types', true);
pref('browser.download.manager.addToRecentDocs', false);

Expand All @@ -273,6 +270,7 @@ pref('browser.download.open_pdf_attachments_inline', true);
pref('browser.bookmarks.openInTabClosesMenu', false);
pref('browser.menu.showViewImageInfo', true);
pref('findbar.highlightAll', true);
pref('layout.word_select.eat_space_to_next_word', false);

/****************************************************************************
* START: MY OVERRIDES *
Expand Down
11 changes: 6 additions & 5 deletions src/browser/app/profile/firefox-js.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index 8a0558ae2e2d694fdb2a8ed20e712216edd046d1..13bd889df4977ccb9952457f043ca4a622006beb 100644
index 29e5b7316f3549181f4a1415a8324e1bf81519a4..58b672329b5c0596b773db659220a59de5e85482 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -2880,3 +2880,5 @@ pref("browser.privatebrowsing.resetPBM.showConfirmationDialog", true);
#ifdef XP_MACOSX
pref("browser.attribution.macos.enabled", false);
#endif
@@ -2937,3 +2937,5 @@ pref("browser.mailto.dualPrompt.os", false);
// When visiting a site which uses registerProtocolHandler: Ask the user to set Firefox as
// default mailto handler.
pref("browser.mailto.prompt.os", true);
+
+#include pulse-browser.js
\ No newline at end of file
4 changes: 2 additions & 2 deletions src/browser/themes/pulse/addons/shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ tab.tabbrowser-tab:nth-child(1) {
bottom: 0;

-moz-context-properties: fill;
fill: var(--lwt-selected-tab-background-color);
fill: var(--tab-selected-bgcolor);
background-size: cover;

width: var(--tab-rounding-size);
Expand Down Expand Up @@ -127,7 +127,7 @@ tab.tabbrowser-tab:nth-child(1) {
right: 0;

background-size: cover;
color: var(--lwt-selected-tab-background-color);
color: var(--tab-selected-bgcolor);
-moz-context-properties: fill, fill-opacity;
fill: currentColor;

Expand Down

0 comments on commit c563b05

Please sign in to comment.