Skip to content

Protection Config

The ProtectionConfig (Python) or protection object (Node.js) lets you override fingerprint protection on individual browser APIs.

ValueMeaning
None / not setMaximum protection (default)
"noise"Inject randomized values
"real"No protection — use real browser values
"block"Block the browser API entirely

canvas, webgl, gpu_info, audio, location, timezone, webrtc, fonts, display, browser_profile, media, network_ports, locale, cpu, memory

from rayobrowse import Rayobrowse, ProtectionConfig
client = Rayobrowse(endpoint="wss://cloud.rayobrowse.com", api_key="your-key")
ws_url = client.connect_url(
os="windows",
protection=ProtectionConfig(audio="real", canvas="noise"),
)

Or as a dict:

ws_url = client.connect_url(
os="windows",
protection={"audio": "real", "canvas": "noise"},
)

Protection values can also be passed as query parameters:

ws://localhost:9222/connect?os=windows&protection.audio=real&protection.canvas=noise