Protection Config
The ProtectionConfig (Python) or protection object (Node.js) lets you override fingerprint protection on individual browser APIs.
Values
Section titled “Values”| Value | Meaning |
|---|---|
None / not set | Maximum protection (default) |
"noise" | Inject randomized values |
"real" | No protection — use real browser values |
"block" | Block the browser API entirely |
Available features
Section titled “Available features”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"},)const wsUrl = await client.connectUrl({ os: 'windows', protection: { audio: 'real', canvas: 'noise' },});Via /connect URL
Section titled “Via /connect URL”Protection values can also be passed as query parameters:
ws://localhost:9222/connect?os=windows&protection.audio=real&protection.canvas=noise