Commit graph

355 commits

Author SHA1 Message Date
daijro
cf28f78658 Merge latest Playwright patches #230 2025-03-07 16:28:53 -06:00
Ven Om
dcda82e94f Get IP fix 2025-03-06 15:30:25 +01:00
daijro
c75baab79b Workaround to restore custom match media without disabling HiDPI 2025-03-04 02:52:49 -06:00
daijro
aeae79f1b4 Makefile: Add an "unbusy" to remove blocking files before building 2025-03-04 02:51:40 -06:00
daijro
64f0eaea99 Bump to v135.0.1-beta.23 2025-03-04 00:54:10 -06:00
daijro
c2b5eb14ba Fix devPixelsPerPx cfg value 2025-03-04 00:50:43 -06:00
daijro
3484b7c4be Fix WebRTC IP leaks in SDP log #184 2025-03-04 00:17:58 -06:00
daijro
e4f22cfa8f Merge remote-tracking branch 'origin/main' 2025-03-04 00:15:34 -06:00
daijro
3c2621d5c0 Disable hidpi by default 2025-03-03 22:30:43 -06:00
daijro
bbec766064
Merge pull request #218 from alternativshik/main
Optimize configuration loading: cache JSON
2025-03-03 03:59:28 -06:00
daijro
46f35637f3
Merge branch 'main' into main 2025-03-03 03:58:36 -06:00
daijro
48ff474745
Merge pull request #216 from pauliusbaulius/improvements
Build fixes and performance improvements
2025-03-03 02:40:15 -06:00
Serhii Maltsev
cfe1ae079b
Merge branch 'daijro:main' into main 2025-02-28 14:36:40 +02:00
Serhii Maltsev
f42604c527 Optimize configuration loading: cache JSON
- Moved environment variable parsing to a dedicated loadConfig() function, called only once during initialization of the global g_jsonConfig.
- Updated GetJson() to return the cached JSON object, preventing repetitive parsing of environment variables on each access.
- Improved performance and simplified configuration data access.

Replace <stdio.h> with <cstdlib> and <cstdio>

- Updated include directives to use modern C++ headers.
- The new headers place standard library functions in the std namespace, enhancing compatibility and type safety as recommended by modern C++ standards.
2025-02-28 13:35:11 +01:00
Paulius Gerve
d65e81caad Revert "Experimental build improvements"
This reverts commit 13d645cacf.
2025-02-28 14:21:48 +02:00
Paulius Gerve
13d645cacf Experimental build improvements 2025-02-28 13:00:32 +02:00
Paulius Gerve
f0b18df324 Updated GetJson 2025-02-28 10:30:21 +02:00
Paulius Gerve
ef6a54509f Dockerfile fixes 2025-02-28 10:03:02 +02:00
Paulius Gerve
f377a4e66d Update GetJson 2025-02-28 10:02:15 +02:00
Paulius Gervė
17b528489b Use shutil to move files (supports cross-env moves) 2025-02-28 10:00:24 +02:00
daijro
1b7cf7b7a5
Merge pull request #203 from alternativshik/main
Minor dev UI improvements
2025-02-27 15:00:16 -06: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
daijro
64180472e2 README: Move funding button, add GH trending 2025-02-12 11:01:06 -06:00
daijro
e2a47d00cf
Fix developer script; Merge PR #201 from alternativshik/main
Fix make edits python version and broken f-string in developer.py
2025-02-12 10:27:21 -06:00
Serhii Maltsev
15d26c35d5 Merge branch 'main' of https://github.com/daijro/camoufox 2025-02-12 08:56:58 +01:00
daijro
171d3c7df3
Merge pull request #189 from gsli97/patch-1
unexpected keyword argument when using proxy-bypass with geoip=True
2025-02-11 17:31:59 -06:00
daijro
ae7263428e Add an allowAddonNewtab toggle #188 2025-02-11 12:22:08 -06:00
Serhii Maltsev
0508808afa Merge branch 'main' of https://github.com/daijro/camoufox 2025-02-11 12:41:10 +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
5938f6e027 Fix expect_response failing when decoding compressed resps #186 beta.22
Fix for a regression caused by this change in FF135:
https://hg.mozilla.org/mozilla-central/rev/adc7412eeab1a4fcb8f10211a268b799c22350a3
2025-02-11 01:23:27 -06:00
gsli97
c8eca598a9
unexpected keyword argument when using proxy-bypass with geoip=True
passing a proxy to camoufox with the "bypass"-argument while using geoip=True runs into an exception.
extending the class attributes fixes the problem on my local machine
2025-02-07 18:15:57 -08:00
daijro
2a250720a6 Add the disableTheming property to config map #179 2025-02-06 20:58:10 -06:00
daijro
9f6d55f39b Extract inner tar in packager 2025-02-05 19:18:17 -06:00
daijro
8a1abfb9a5 Disable OOPIFs without disabling COOP #150 2025-02-05 16:51:54 -06:00
daijro
0fea201d83 Add theming toggle #179 2025-02-05 15:54:19 -06:00
daijro
2f2af937a1 Update packager to search for tar.xz 2025-02-05 12:13:30 -06:00
daijro
f77c2c7a58 Bump to FF135.0 2025-02-05 00:33:13 -06:00
daijro
e6e0d3b471 Do not send DOM mouse events as synthesized 2025-02-04 00:51:30 -06:00
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
0dabcb726d Add leak warning for block_images 0.4.11 #170 2025-01-29 03:32:40 -06:00
daijro
b6f001ca07 Bump to 134.0.2 2025-01-25 18:16:34 -06:00
daijro
a9b1934790 pythonlib: Add COOP toggle (workaround for #150) 0.4.10 2025-01-25 18:02:40 -06:00
daijro
33085c90f3 Merge with Playwright a121f85
Merges patches with the latest commit: a121f85ce9
2025-01-24 18:20:07 -06:00
daijro
b3e7636378 Cleanup pref file
Reverted certain config related to offline caching restrictions, better organization, removed non essential prefs, etc.
2025-01-24 13:48:00 -06:00
daijro
22743a7a6d
Merge pull request #163 from D4Vinci/main
Various perfomance improvements and one stealth improvement ( #162 )
2025-01-24 13:43:25 -06:00
Karim shoair
e01c2d6476 Increase process count for perfomance boost while keeping it a realistic number
Using 16 is to balance process isolation and resource use as using 60000 as PlayWright is impractical and may cause instability.
2025-01-24 21:30:09 +02:00
Karim shoair
499fcd5442 Enable clipboard Events
Websites can check if clipboard events are turned off, this hurts stealth
2025-01-24 21:23:25 +02:00
Karim shoair
6fc8ee287e Make Geolocation frozen to use less memory
And it can be cached later if that intended in the future
2025-01-24 21:21:27 +02:00
Karim shoair
b5a248707e Small performance boost on ip validation with caching 2025-01-24 21:19:29 +02:00