Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

2023.10 #661

Merged
merged 5 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .workspace
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"addons": {
"ghostery": "https://github.com/ghostery/ghostery-extension/releases/download/v10.1.4.4/ghostery-firefox-10.1.4.zip",
"ghostery": "https://github.com/ghostery/ghostery-extension/releases/download/v10.2.2/ghostery-firefox.zip",
"ghostery-search": "https://github.com/ghostery/ghostery-search-extension/releases/download/v1.1.1/ghostery_private_search-1.1.1.zip",
"ghostery-newtab": "https://github.com/ghostery/ghostery-newtab-extension/releases/download/v0.5.3/ghostery_new_tab-0.5.3.zip"
},
Expand All @@ -10,11 +10,11 @@
"pictureinpicture",
"report-site-issue"
],
"firefox": "117.0.1",
"app": "2023.9",
"firefox": "118.0.2",
"app": "2023.10",
"s3bucket": "ghostery-user-agent-cache-public",
"locales": {
"de": "4512014206c5f5a774e47c4cae2592694bfd031f",
"fr": "e9d5c5bc1764f84d7499905d3a8a644095ec2eec"
"de": "30ab70115f605023f1fac297f6fbfaf7d271ebd0",
"fr": "80f9cf1006b3e05de50c8dd6d886ae50081f4bc1"
}
}
}
48 changes: 24 additions & 24 deletions brands/ghostery/branding/pref/Better-Fox.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
/****************************************************************************
* Betterfox for Ghostery *
* "Non ducor duco" *
* version: 116 *
* version: 118 *
* url: https://github.com/yokoffing/Betterfox *
****************************************************************************/

/****************************************************************************
* SECTION: FASTFOX *
****************************************************************************/
pref("nglayout.initialpaint.delay", 0);
pref("nglayout.initialpaint.delay_in_oopif", 0);
/** GENERAL ***/
pref("content.notify.interval", 100000);

/** EXPERIMENTAL ***/
pref("layout.css.grid-template-masonry-value.enabled", true); // CSS Masonry Layout
pref("dom.enable_web_task_scheduling", true); // Prioritized Task Scheduling API
pref("layout.css.has-selector.enabled", true); // CSS has selector

/** GFX ***/
//pref("gfx.canvas.accelerated", true); // GPU-accelerated Canvas2D is enabled by default on macOS and Linux [FF110]
pref("gfx.canvas.accelerated.cache-items", 4096);
Expand All @@ -42,19 +36,20 @@ pref("network.buffer.cache.count", 128); // default=24; reduce CPU usage by requ
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.dnsCacheEntries", 1000); // increase DNS cache
pref("network.dnsCacheExpiration", 86400); // keep entries for 1 hour; pref will be ignored by DNS resolver if using DoH/TRR
pref("network.ssl_tokens_cache_capacity", 10240); // increase TLS token caching (fast reconnects)

/** SPECULATIVE CONNECTIONS ***/
pref("network.http.speculative-parallel-limit", 0);
/** IMPLICIT OUTBOUND ***/
pref("network.dns.disablePrefetch", true);
pref("browser.urlbar.speculativeConnect.enabled", false);
pref("browser.places.speculativeConnect.enabled", false);
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); // CSS Masonry Layout
pref("dom.enable_web_task_scheduling", true); // Prioritized Task Scheduling API
pref("layout.css.has-selector.enabled", true); // CSS has selector

/****************************************************************************
* SECTION: SECUREFOX *
****************************************************************************/
Expand All @@ -73,7 +68,6 @@ pref("privacy.globalprivacycontrol.functionality.enabled", true); // Global Priv
pref("security.OCSP.enabled", 0); // disable OCSP fetching to confirm current validity of certificates
pref("security.remote_settings.crlite_filters.enabled", true);
pref("security.pki.crlite_mode", 2); // consult CRLite and enforce both "Revoked" and "Not Revoked" results
pref("security.cert_pinning.enforcement_level", 2); // enable strict pinning

/** SSL / TLS ***/
pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
Expand All @@ -91,33 +85,33 @@ pref("browser.search.separatePrivateDefault.ui.enabled", true); // Enable a sepe
pref("browser.urlbar.update2.engineAliasRefresh", true); // enable "Add" button under search engine menu
pref("browser.search.suggest.enabled", false); // Live search engine suggestions (Google, Bing, etc.)
pref("browser.formfill.enable", false); // disable Search and Form history
pref("security.insecure_connection_text.enabled", true);
pref("security.insecure_connection_text.pbmode.enabled", true);
pref("network.IDN_show_punycode", true); // Enforce Punycode for Internationalized Domain Names to eliminate possible spoofing

/** HTTPS-ONLY MODE ***/
pref("dom.security.https_only_mode", true); // force HTTPS-only connections (#367)
pref("dom.security.https_only_mode_error_page_user_suggestions", true);

/** PROXY / SOCKS / IPv6 ***/
pref("network.proxy.socks_remote_dns", true);
pref("network.file.disable_unc_paths", true);
pref("network.gio.supported-protocols", "");

/** DNS-over-HTTPS (DOH) ***/
pref("network.trr.mode", 0); // DNS-over-HTTPS (DOH) disabled by default

/** PASSWORDS AND AUTOFILL ***/
/** PASSWORDS ***/
pref("signon.rememberSignons", false); // disable saving passwords
pref("signon.formlessCapture.enabled", false);
pref("signon.privateBrowsingCapture.enabled", false);
pref("network.auth.subresource-http-auth-allow", 1); // don't allow cross-origin sub-resources to open HTTP authentication credentials dialogs
pref("editor.truncate_user_pastes", false);

/** ADDRESS + CREDIT CARD MANAGER ***/
pref("extensions.formautofill.addresses.enabled", false);
pref("extensions.formautofill.creditCards.enabled", false);

/** MIXED CONTENT + CROSS-SITE ***/
pref("network.auth.subresource-http-auth-allow", 1); // don't allow cross-origin sub-resources to open HTTP authentication credentials dialogs
pref("security.mixed_content.block_display_content", true);
pref("security.mixed_content.upgrade_display_content", true);
pref("pdfjs.enableScripting", false); // deny PDFs to load javascript
pref("extensions.postDownloadThirdPartyPrompt", false); // 3rd party extension install prompts
pref("permissions.delegation.enabled", false); // 3rd party origin for device permissions

/** HEADERS / REFERERS ***/
pref("network.http.referer.XOriginTrimmingPolicy", 2); // cross-origin referers = scheme+host+port
Expand Down Expand Up @@ -149,9 +143,14 @@ pref("permissions.default.desktop-notification", 2); // block desktop notificati
/** UI ***/
pref("browser.translations.enable", true); // local translation services; data doesn't leave device

/** COOKIE BANNER HANDLING ***/
pref("cookiebanners.service.mode", 1);
pref("cookiebanners.service.mode.privateBrowsing", 1);
// pref("cookiebanners.service.enableGlobalRules", false); // DEFAULT

/** FULLSCREEN ***/
pref("full-screen-api.transition-duration.enter", "0 0"); // transition time (instant)
pref("full-screen-api.transition-duration.leave", "0 0"); // transition time (instant)
pref("full-screen-api.transition-duration.enter", "50 50"); // transition time (instant)
pref("full-screen-api.transition-duration.leave", "50 50"); // transition time (instant)
pref("full-screen-api.warning.delay", 0); // fullscreen notice (disable)
pref("full-screen-api.warning.timeout", 0); // fullscreen notice (disable)

Expand All @@ -168,6 +167,7 @@ pref("browser.urlbar.suggest.engines", false);
// pref("browser.urlbar.suggest.topsites", false);
pref("browser.urlbar.suggest.calculator", true);
pref("browser.urlbar.unitConversion.enabled", true);
pref("browser.urlbar.trending.featureGate", false); // disable trending searches

/** NEW TAB PAGE ***/
pref("browser.toolbars.bookmarks.visibility", "never");
Expand Down
22 changes: 11 additions & 11 deletions build/Linux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,57 @@ FROM ua-build-base
ENV MOZ_AUTOMATION_PACKAGE_TESTS="1" \
MOZ_ENABLE_FULL_SYMBOLS="1"

RUN wget -nv -O /builds/worker/fetches/binutils.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-binutils/binutils.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/binutils.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-binutils/binutils.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf binutils.tar.zst && \
rm binutils.tar.zst

RUN wget -nv -O /builds/worker/fetches/clang.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-clang-16/clang.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/clang.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-clang-16/clang.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf clang.tar.zst && \
rm clang.tar.zst

RUN wget -nv -O /builds/worker/fetches/rustc.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-rust-1.71/rustc.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/rustc.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-rust-1.71/rustc.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rustc.tar.zst && \
rm rustc.tar.zst

RUN wget -nv -O /builds/worker/fetches/rust-size.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-rust-size/rust-size.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/rust-size.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-rust-size/rust-size.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rust-size.tar.zst && \
rm rust-size.tar.zst

RUN wget -nv -O /builds/worker/fetches/cbindgen.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-cbindgen/cbindgen.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/cbindgen.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-cbindgen/cbindgen.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf cbindgen.tar.zst && \
rm cbindgen.tar.zst

RUN wget -nv -O /builds/worker/fetches/dump_syms.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-dump_syms/dump_syms.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/dump_syms.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-dump_syms/dump_syms.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf dump_syms.tar.zst && \
rm dump_syms.tar.zst

RUN wget -nv -O /builds/worker/fetches/nasm.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-nasm/nasm.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/nasm.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-nasm/nasm.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf nasm.tar.zst && \
rm nasm.tar.zst

RUN wget -nv -O /builds/worker/fetches/node.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-node-16/node.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/node.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-node-16/node.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf node.tar.zst && \
rm node.tar.zst

RUN wget -nv -O /builds/worker/fetches/pkgconf.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-pkgconf/pkgconf.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/pkgconf.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-pkgconf/pkgconf.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf pkgconf.tar.zst && \
rm pkgconf.tar.zst

RUN wget -nv -O /builds/worker/fetches/sysroot-x86_64-linux-gnu.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/sysroot-x86_64-linux-gnu/sysroot-x86_64-linux-gnu.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/sysroot-x86_64-linux-gnu.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/sysroot-x86_64-linux-gnu/sysroot-x86_64-linux-gnu.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-x86_64-linux-gnu.tar.zst && \
rm sysroot-x86_64-linux-gnu.tar.zst

RUN wget -nv -O /builds/worker/fetches/sysroot-wasm32-wasi.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/sysroot-wasm32-wasi-clang-16/sysroot-wasm32-wasi.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/sysroot-wasm32-wasi.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/sysroot-wasm32-wasi-clang-16/sysroot-wasm32-wasi.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-wasm32-wasi.tar.zst && \
rm sysroot-wasm32-wasi.tar.zst
Expand Down
24 changes: 12 additions & 12 deletions build/MacOSARM.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,62 +3,62 @@ FROM ua-build-base
ENV MOZ_AUTOMATION_PACKAGE_TESTS="1" \
PERFHERDER_EXTRA_OPTIONS="aarch64"

RUN wget -nv -O /builds/worker/fetches/cctools.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-cctools-port/cctools.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/cctools.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-cctools-port/cctools.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf cctools.tar.zst && \
rm cctools.tar.zst

RUN wget -nv -O /builds/worker/fetches/clang.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-clang-16/clang.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/clang.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-clang-16/clang.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf clang.tar.zst && \
rm clang.tar.zst

RUN wget -nv -O /builds/worker/fetches/sysroot-wasm32-wasi.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/sysroot-wasm32-wasi-clang-16/sysroot-wasm32-wasi.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/sysroot-wasm32-wasi.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/sysroot-wasm32-wasi-clang-16/sysroot-wasm32-wasi.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-wasm32-wasi.tar.zst && \
rm sysroot-wasm32-wasi.tar.zst

RUN wget -nv -O /builds/worker/fetches/dump_syms.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-dump_syms/dump_syms.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/dump_syms.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-dump_syms/dump_syms.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf dump_syms.tar.zst && \
rm dump_syms.tar.zst

RUN wget -nv -O /builds/worker/fetches/hfsplus.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-hfsplus/hfsplus.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/hfsplus.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-hfsplus/hfsplus.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf hfsplus.tar.zst && \
rm hfsplus.tar.zst

RUN wget -nv -O /builds/worker/fetches/dmg.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-libdmg/dmg.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/dmg.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-libdmg/dmg.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf dmg.tar.zst && \
rm dmg.tar.zst

RUN wget -nv -O /builds/worker/fetches/rustc.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-rust-macos-1.71/rustc.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/rustc.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-rust-macos-1.71/rustc.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rustc.tar.zst && \
rm rustc.tar.zst

RUN wget -nv -O /builds/worker/fetches/rust-size.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-rust-size/rust-size.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/rust-size.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-rust-size/rust-size.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf rust-size.tar.zst && \
rm rust-size.tar.zst

RUN wget -nv -O /builds/worker/fetches/cbindgen.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-cbindgen/cbindgen.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/cbindgen.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-cbindgen/cbindgen.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf cbindgen.tar.zst && \
rm cbindgen.tar.zst

RUN wget -nv -O /builds/worker/fetches/nasm.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-nasm/nasm.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/nasm.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-nasm/nasm.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf nasm.tar.zst && \
rm nasm.tar.zst

RUN wget -nv -O /builds/worker/fetches/node.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/linux64-node-16/node.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/node.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/linux64-node-16/node.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf node.tar.zst && \
rm node.tar.zst

RUN wget -nv -O /builds/worker/fetches/sysroot-x86_64-linux-gnu.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/117.0/sysroot-x86_64-linux-gnu/sysroot-x86_64-linux-gnu.tar.zst && \
RUN wget -nv -O /builds/worker/fetches/sysroot-x86_64-linux-gnu.tar.zst https://ghostery-user-agent-cache-public.s3.amazonaws.com/toolchains/118.0.2/sysroot-x86_64-linux-gnu/sysroot-x86_64-linux-gnu.tar.zst && \
cd /builds/worker/fetches/ && \
tar -xf sysroot-x86_64-linux-gnu.tar.zst && \
rm sysroot-x86_64-linux-gnu.tar.zst
Expand Down
Loading