Add leak warning for block_images 0.4.11 #170

This commit is contained in:
daijro 2025-01-29 03:32:40 -06:00
parent b6f001ca07
commit 0dabcb726d
3 changed files with 5 additions and 1 deletions

View file

@ -588,6 +588,7 @@ def launch_options(
# Set Firefox user preferences
if block_images:
LeakWarning.warn('block_images', i_know_what_im_doing)
firefox_user_prefs['permissions.default.image'] = 2
if block_webrtc:
firefox_user_prefs['media.peerconnection.enabled'] = False

View file

@ -40,6 +40,9 @@ no_region: >-
block_webgl: >-
Disabling WebGL is not recommended. Many WAFs will check if WebGL is enabled.
block_images: >-
Blocking image requests has been reported to cause detection issues on major WAFs.
custom_fonts_only: >-
Disabling OS-specific fonts while spoofing your OS will make your browser fingerprint inconsistent.
WAFs can detect this mismatch between your claimed OS and available system fonts.

View file

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "camoufox"
version = "0.4.10"
version = "0.4.11"
description = "Wrapper around Playwright to help launch Camoufox"
authors = ["daijro <daijro.dev@gmail.com>"]
license = "MIT"