Commit graph

12 commits

Author SHA1 Message Date
daijro
5ec48fdbe6 Keep legacy allowMainWorld behavior 2025-02-03 22:54:21 -06:00
daijro
cf269d6b60 feat: Force system principal scope access (forceScopeAccess)
A workaround to restore some original Playwright functionality.

Forces Playwright to run in "God mode", allowing it to bypass CORS restrictions, access shadow roots (with element.shadowRootUnl), access undocumented JS browser methods, modify DOM without `allowMainWorld`, & restore some unsupported Playwright functionality.

Note: `forceScopeAccess` is not detectable/visible to the page unless the dom is directly modified (elements are added or removed).
2025-02-03 20:49:42 -06:00
daijro
d11cbe4dee Handle list and dict types from main world 2024-12-03 17:54:22 -06:00
daijro
4305385f0b feat: Main world JS evaluation
Experimental support to execute in the main world. Usage: `page.evaluate("mw:<script>")`
Has only been implemented to pass JSON serializable objects to/from the main world (Isolated worlds are still the default, and should be used unless necessary).
2024-12-03 06:36:31 -06:00
daijro
2539e60a79 Bump to FF132 beta.14
- Update upstream Firefox version to 132.0.
- Updated Playwright patches and Juggler to FF132 (+1 version above current parent Playwright branch)
- Removed upstream DNS leak patch (has been added natively)
- Added WebGL context attribute "forceSoftwareRendering"
2024-11-01 00:50:26 -05:00
daijro
021b2f895d Juggler: Add logging & fix frame execution issues #3 #6
- Add back frame execution contexts. Fixes leaks by using an isolated context. #3 #6
- Fixed other small errors in Juggler (viewport size & error message stack)
- Add debugging functionality to Juggler
- Add launcher argument to write stderr to a log file
- Bumped to v130.0-beta.5
2024-09-11 04:06:05 -05:00
daijro
f25c39749d Bump to v130.0
- Merged new July 25th changes into Juggler
- Retrofit playwright patches to the latest version
- Removed Nvidia Wayland fix backport
- Updated bootstrap patch from LibreWolf
2024-09-09 17:43:41 -05:00
daijro
c5356e9e41 Cleanup & bump to v129.0-beta.4
- Rename /dom/mask -> /camoucfg
- Rename auto-pin-extensions.patch -> pin-addons.patch
- Remove redundant comment in juggler/content/FrameTree.js
2024-08-18 04:30:45 -05:00
daijro
f8f868307a Fix frame execution contexts leak
- Prevents the creation of execution contexts in frames on content-document-global-created.
- Also fixes input events not working in Playwright
2024-08-17 21:08:43 -05:00
daijro
2f57040710 Experimental observer leak fix
Juggler will no longer notify content-document-global-created.
This patch also reverses the _Runtime domain rename fix due to Playwright breakage.

This was causing leaks with some WAFs.
2024-08-13 06:24:53 -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.dev@gmail.com
1090f6a212 Initial release v128.0-1 2024-07-26 06:49:20 -05:00