Commit Graph

49 Commits

Author SHA1 Message Date
icepaq 33b0e0ebcc Build improvements (#3)
* fix asets.car issue

* dist folder issue bruh
2026-01-04 23:26:32 -05:00
icepaq dfa62f7070 Juggler fixes (#2)
* fix: migrate Services import to lazy loading pattern and disable dark theme to prevent XPIProvider crash

- Changed Services from ChromeUtils.defineLazyGetter to ChromeUtils.defineESModuleGetters with lazy object
- Updated all Services references to lazy.Services throughout Juggler.js
- Added re-copying of additions and settings after git reset in patch.py
- Removed juggler components.conf copy logic from patch.py (now handled by copy-additions.sh)
- Disabled dark theme preference in camoufox.cfg to

* fix: revert Services import to direct ESM import and re-enable dark theme preference

- Changed Services from lazy loading pattern back to direct ChromeUtils.importESModule()
- Removed lazy object wrapper and ChromeUtils.defineESModuleGetters usage
- Updated all lazy.Services references to Services throughout Juggler.js
- Re-enabled dark theme preference in camoufox.cfg (extensions.activeThemeID)
- Removed XPIProvider crash prevention comment as issue is resolved

* fix: remove redundant Services import as it's available globally in XPCOM component context

- Removed ChromeUtils.importESModule imports for XPCOMUtils, ComponentUtils, and Services
- Added comment explaining Services is available as a global in XPCOM component context
- Services.scriptloader.loadSubScript call continues to work with global Services reference

* fix: correct JugglerFrameChild.sys.mjs path by removing duplicate content directory

- Changed esModuleURI from 'chrome://juggler/content/content/JugglerFrameChild.sys.mjs' to 'chrome://juggler/content/JugglerFrameChild.sys.mjs'
- Removes erroneous duplicate 'content' directory in the child actor module path

* fix: add ESM module entries and correct JugglerFrameChild.jsm path in jar.mn

- Added JugglerFrameParent.sys.mjs entry to juggler.jar manifest
- Added JugglerFrameChild.sys.mjs entry to juggler.jar manifest
- Fixed JugglerFrameChild.jsm path from 'content/content/JugglerFrameChild.jsm' to 'content/JugglerFrameChild.jsm' removing duplicate content directory

* fix: remove redundant Services lazy getter as it's available globally in content process context

- Removed ChromeUtils.defineLazyGetter for Services in main.js
- Added comment explaining Services is available as a global
- Services reference continues to work with global availability in content process

---------

Co-authored-by: Nirupam Bhowmick <48842933+heydryft@users.noreply.github.com>
2026-01-04 11:40:05 -05:00
Anton 3cceb0f4f5 Revert "bring back camoufox branding"
This reverts commit 3258fca5b2.
2026-01-04 11:34:17 -05:00
Anton 3258fca5b2 bring back camoufox branding 2026-01-03 22:33:16 -05:00
Nirupam Bhowmick 7106903bb0 fix: add binary flag to patch command for line ending preservation
- Added --binary flag to preserve line endings (CRLF vs LF)
- Removed -F3 (fuzz factor) flag
- Helps with cross-platform patching where line endings may differ
2025-12-30 00:40:12 +00:00
Nirupam Bhowmick acba61d7aa fix: improve patch command flexibility with whitespace and fuzz tolerance
- Changed --fuzz=3 to -F3 for consistent short option format
- Added -l flag to ignore whitespace differences when applying patches
- Maintains --forward flag to skip already applied patches
2025-12-30 00:30:18 +00:00
Nirupam Bhowmick ee997d1518 make patching more lenient 2025-12-29 23:37:39 +00:00
Nirupam Bhowmick f7a9bf7fbd refactor: move MOZ_APP_VENDOR and MOZ_APP_PROFILE to moz.configure and fix juggler component registration
- Removed MOZ_APP_VENDOR and MOZ_APP_PROFILE from configure.sh branding file
- Added note that these must be set via imply_option() in browser/moz.configure
- Updated disable-data-reporting-at-compile-time.patch to set MOZ_APP_VENDOR="Camoufox" and MOZ_APP_PROFILE="camoufox"
- Changed juggler components.conf to use "type" instead of "constructor" for Firefox 146+ compatibility
- Added automatic
2025-12-27 20:23:41 +00:00
Nirupam Bhowmick 32122430be fix: every patch patches except 0, 1 playwright and roverfox context 2025-12-27 02:58:10 +00:00
Nirupam Bhowmick 75fb8d2f78 fix: auto-update 6 line numbers in 0-playwright.patch 2025-12-25 18:25:54 +00:00
Nirupam Bhowmick 08ecd86746 feat: add Firefox v147 patch update task list and tracking document
Add comprehensive task list documenting the Firefox upgrade from v135.0.1 to v147.0b3 (12 major versions). Includes status tracking for all 45 patches after syncing with upstream LibreWolf (Firefox 146) and Playwright repositories.

Key changes:
- 25 broken patches identified (56% failure rate)
- 20 patches applying cleanly (44% success rate)
- LibreWolf patches updated from upstream: 17 patches synced, 5 deleted, 2 auto-fixed
-
2025-12-19 05:58:30 +00:00
Nirupam Bhowmick cd77ea7bd5 feat: remove webrtc ipv6 func and update diff command in developer script 2025-08-24 01:36:16 +01:00
Nirupam Bhowmick e1a28778db feat: add WebRTC IP spoofing with per-context isolation support 2025-08-23 23:53:07 +01:00
Nirupam Bhowmick 15719fe9b1 feat: implement user context-based font spacing 2025-08-19 19:02:22 +01:00
Serhii Maltsev cc852b424a Minor dev UI improvements: add patch statuses directly to lists for improved usability 2025-02-13 17:52:53 +01:00
Serhii Maltsev 8dc1f6b039 fix broken f-string formatting and broken python make edits call 2025-02-11 12:41:05 +01:00
daijro 9f6d55f39b Extract inner tar in packager 2025-02-05 19:18:17 -06:00
daijro 2f2af937a1 Update packager to search for tar.xz 2025-02-05 12:13:30 -06:00
daijro 33085c90f3 Merge with Playwright a121f85
Merges patches with the latest commit: https://github.com/microsoft/playwright/commit/a121f85ce91b67aeb1191e2fcca0939ad5b38671
2025-01-24 18:20:07 -06:00
daijro bbe1cbe2b2 Memory benchmark scripts via podman #87 2024-11-30 21:15:43 -06:00
daijro 4f15447e04 Deprecate old launcher & locales 2024-11-21 18:51:27 -06:00
daijro 85eb40aee4 Leak fixes #90 2024-11-21 01:59:01 -06:00
daijro e126cf379c Update uBlock Origin assets & updater 2024-11-04 03:13:23 -06:00
daijro ad3b3f04fe Add extra parameters to test site
Added the following parameters to the WebGL testing site:
TIMESTAMP_EXT, GPU_DISJOINT_EXT, MAX_VIEWS_OVR
2024-10-15 05:37:59 -05:00
daijro 5bfc3ee026 Further improved WebGL spoofing beta.12
- Added ability to spoof webgl2 supported extensions
- Added ability to block parameters that aren't defined in config
- Passing null in config will block the value
- Added more parameters to the demo site
2024-10-14 20:31:58 -05:00
daijro 02bc15161a feat: WebGL fingerprint spoofing
Experimental WebGL fingerprint injection.
- Allows the ability to set all WebGL parameters, supported extension list, shader precision formats, & context attributes.
- Added a demo website under scripts/examples/webgl.html that can be used to generate Camoufox config data
2024-10-14 02:12:13 -05:00
daijro 8a9b062d05 Update test script to output debug.log 2024-09-30 00:41:47 -05:00
daijro ea84f792df Developer UI: Keep clean build files on reset 2024-09-09 18:48:36 -05:00
daijro a2cb02df8a Add config type validator
- Validates property types passed in --config.
- Types are stored in properties.json.
2024-08-18 05:14:20 -05:00
daijro a766940363 Makefile: Fix build resetting workspace when editing patch 2024-08-17 00:25:34 -05:00
daijro 1d31bad14e Merge gh-actions branch into main
main..gh-actions:
- CI/CD: Fix release permissions
- Fix macos packaging on debian
- CI/CD: Remove unwanted tools
- CI/CD: Attempt to fix OOM killing GH runner during LTO
- CI/CD: Fix glibc errors
- CI/CD: Downgrade to ubuntu-20.04
- CI/CD: Use target os matrix & fix release
- CI/CD: Remove Windows (temporarily)
- CI/CD: Move to AdityaGarg8/remove-unwanted-software@v4.1
- CI/CD: Limit CPU as well
- CI/CD: Create cgroup with 80% mem limit
- CI/CD: Revert "Remove .mozbuild caching"
- CI/CD: Expand root & swap build space
- CI/CD: Remove .mozbuild caching
- CI/CD: Check disk space after checkout
- CI/CD: Use easimon/maximize-build-space
- CI/CD: Add workflow dispatch trigger
- CI/CD: Experimental fix for clang, add swap space
- CI/CD: Save .mozbuid cache after Build
2024-08-16 07:34:54 -05:00
daijro 80a657268e Packaging & macos exec fixes
- Use "open -a" to launch Camoufox.app
- Fix fonts not copying correctly
- Find & move asset files to dist/ correctly
2024-08-14 05:22:01 -05:00
daijro a891914b9a Makefile: Remove revert from dir command
Removes git reset when running `make dir`. This avoids errors when using `make setup-minimal`.
2024-08-14 00:41:35 -05:00
daijro 2ac5351fd5 Fix developer UI not finding source folder 2024-08-13 22:14:59 -05:00
daijro ad87cec317 Makefile: run-pw with launcher
Build and copy the launcher when testing Playwright
2024-08-13 21:20:19 -05:00
daijro eeb9cb3b60 Makefile: Add run-pw to test Playwright 2024-08-13 06:32:13 -05:00
daijro 0b650d8dfd Developer UI: Add break option in "Find broken Patches"
Adds a option in "Find broken patches" to break after one reject file was found.
2024-08-11 01:51:05 -05:00
daijro a58428b534 Hotfix Windows launcher packaging
Fixes an issue with the launcher not copying correctly during the packaging process for Windows.
2024-08-06 04:21:08 -05:00
daijro 44573c172d Fix target font path on non-linux systems 2024-08-05 22:24:42 -05:00
daijro a96fed208d Add "Create new patch" to dev UI 2024-08-05 21:19:39 -05:00
daijro db0f4668d4 Anti font fingerprinting
- Prevents font fingerprinting by randomly offsetting letter spacing
- Updated README
- Fix bundled fonts not loading on Windows
2024-08-05 20:51:36 -05:00
daijro bf245006b2 multibuild: Allow multiple build targets, Makefile changes, more.
- Allow multiple OS & arch build targets to be passed in multibuild.py
- Add make set-target to change target OS & arch
- Cleanup/refactor patch.py and package.py, move common functions to mixin file
2024-08-01 22:13:35 -05:00
daijro bd12f3c46e Many changes, bump to v128.0.3-1
- Heavy changes to Makefile. Now uses aria2c to download the Firefox release tarball
- New features in developer UI to make patch editing much easier
- Modified Playwright's Juggler patches to run on Firefox release v128.0.3
- Bump Playwright Juggler module to June 2th patches
- Fix viewport-hijacker and xmas-modified patches for new Firefox release
2024-08-01 04:41:03 -05:00
daijro 7ecdd14d4a Cleanup README & .gitignore 2024-07-31 04:01:19 -05:00
daijro c7d634c668 Makefile & dev script additions
- Add Check Patches & Set Checkpoint in dev UI
- Add make diff to view git diff of Camoufox source repo
2024-07-31 03:57:12 -05:00
daijro dc63ec8d3f Clone & patch in same local repo
Do not copy the Firefox source repo before patching. Manage everything through git instead.
2024-07-30 02:51:52 -05:00
daijro a48c4140f9 Fix rustup not found in Docker 2024-07-27 18:10:37 -05:00
daijro 5b6de88f97 Add Dockerfile & cleanup 2024-07-27 11:25:41 -05:00
daijro.dev@gmail.com 1090f6a212 Initial release v128.0-1 2024-07-26 06:49:20 -05:00