v133.0-beta.18
daijro/camoufoxv133.0-beta.18Dec 4, 2024by github-actions[bot]
AI Summary
Experimental support for main world JavaScript execution and screen dimension fixes.
Key Highlights
- Experimental support to execute JavaScript in the main world
- Fixed custom screen.width and screen.height application
- Bumped to Firefox 133.0
New Features
- allowMainWorld
Full Release Notes
**Full Changelog**: https://github.com/daijro/camoufox/compare/v132.0.2-beta.17...v133.0-beta.18
---
Keep in mind that Camoufox is in active development and not production ready.
If you experience any issues, please report them [here](https://github.com/daijro/camoufox/issues).
---
### Changes
- Experimental support to execute JavaScript in the main world. Usage: `page.evaluate("mw:<script>")` Has only been implemented to return JSON serializable objects.
- Fixed issue where custom `screen.width` and `screen.height` did not always apply correctly. #89
- Bumped to Firefox 133.0
**New Properties**
| Property | Type | Description |
|-----------------------|------|-----------------------------------------|
| `allowMainWorld` | bool | Allows main world script evaluation. To use, prepend `mw:` to your script. |