### Complete Privacy Profile Example Source: https://context7.com/selfshore/ysbrowser/llms.txt A comprehensive example combining multiple privacy features including timezone, language, fingerprint seeds, proxy settings, screen resolution, geolocation, and automation-friendly flags. Each instance requires a unique --user-data-dir. ```bash chrome \ --timezone=America/New_York \ --lang=en-US \ --accept-lang=en-US,en \ --fpseed=myUniqueProfileSeed2024 \ --canvas-seed=canvasProfile1 \ --webgl-seed=webglProfile1 \ --audio-seed=audioProfile1 \ --font-seed=fontProfile1 \ --gpu-seed=gpuProfile1 \ --proxy-server=socks5://proxy.example.com:1080 \ --proxy-auth=user:pass \ --cpucores=8 \ --platformversion=17.0.0 \ --custom-screen=1920x1080,1920x1040 \ --force-device-scale-factor=1 \ --custom-geolocation=40.7128,-74.0060,100 \ --webrtc-ip-policy=disabled \ --close-portscan \ --nocrash \ --iconumber=1 \ --user-data-dir=./profile_1 ``` -------------------------------- ### Configure Virtual Media Devices Source: https://context7.com/selfshore/ysbrowser/llms.txt Use --use-fake-device-for-media-stream to configure virtual camera and microphone devices for navigator.mediaDevices.enumerateDevices. A unique --user-data-dir is recommended. ```bash chrome \ --use-fake-device-for-media-stream \ --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Hardware Profiles Source: https://context7.com/selfshore/ysbrowser/llms.txt Sets CPU core counts and platform versions to simulate specific hardware environments. ```bash # Windows 11 configuration chrome \ --cpucores=8 \ --platformversion=17.0.0 \ --user-data-dir=./my_user_data # Windows 10 configuration chrome \ --cpucores=6 \ --platformversion=10.0.0 \ --user-data-dir=./my_user_data # macOS configuration chrome \ --cpucores=10 \ --platformversion=15.4.1 \ --user-data-dir=./my_user_data ``` -------------------------------- ### Simulate Brave Browser Source: https://context7.com/selfshore/ysbrowser/llms.txt Simulate the Brave browser by setting timezone, language, accept-language, fingerprint seed, Chrome version, custom brand, and enabling/disabling specific features. Use a unique --user-data-dir. ```bash chrome \ --timezone=Asia/Hong_Kong \ --lang=zh-CN \ --accept-lang=zh-CN,en \ --fpseed=121e0opwlltx \ --chrome-version=140.0.0.0 \ --custom-brand=Brave \ --enable-features=BraveAPI \ --disable-features=keyboardAPI,NetworkAPI \ --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Language Settings Source: https://context7.com/selfshore/ysbrowser/llms.txt Sets the UI language and Accept-Language headers for localization consistency. ```bash # Chinese language configuration chrome \ --lang=zh-CN \ --accept-lang=zh-CN,en \ --user-data-dir=./my_user_data # English US configuration chrome \ --lang=en-US \ --accept-lang=en-US,en \ --user-data-dir=./my_user_data # Japanese configuration chrome \ --lang=ja-JP \ --accept-lang=ja-JP,ja,en \ --user-data-dir=./my_user_data ``` -------------------------------- ### Combined Automation-Friendly Configuration Source: https://context7.com/selfshore/ysbrowser/llms.txt Combine flags for crash prevention, CAPTCHA bypass, and port scanning prevention for automation. A unique --user-data-dir is essential. ```bash chrome \ --nocrash \ --enable-features=TurnstileClicker,PXAutoHold \ --close-portscan \ --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Proxy Servers Source: https://context7.com/selfshore/ysbrowser/llms.txt Routes browser traffic through HTTP, SOCKS4, or SOCKS5 proxies with optional authentication. ```bash # HTTP proxy chrome --proxy-server=http://127.0.0.1:8080 --user-data-dir=./my_user_data # SOCKS5 proxy with authentication chrome \ --proxy-server=socks5://proxy.example.com:1080 \ --proxy-auth=username:password \ --user-data-dir=./my_user_data # SOCKS4 proxy chrome --proxy-server=socks4://192.168.1.100:1080 --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Screen Resolution Source: https://context7.com/selfshore/ysbrowser/llms.txt Customizes reported screen dimensions and device scale factors. ```bash # Set screen resolution with available area # Format: widthxheight,availWidthxavailHeight chrome \ --custom-screen=1920x1080,1920x1040 \ --force-device-scale-factor=1 \ --user-data-dir=./my_user_data # Retina/HiDPI display simulation chrome \ --custom-screen=2560x1440,2560x1400 \ --force-device-scale-factor=2 \ --user-data-dir=./my_user_data # Simple resolution without available area (auto-calculated) chrome \ --custom-screen=1792x1120 \ --user-data-dir=./my_user_data ``` -------------------------------- ### Set Custom Screen Dimensions Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Configures the screen width/height and available width/height, corresponding to JavaScript's screen object properties. Width and height are required. ```bash 1792x1120,1792x1039 ``` ```bash 1792x1120 ``` -------------------------------- ### Basic YSbrowser Usage Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Basic command-line arguments for YSbrowser, including timezone, language settings, and a required user data directory for environment isolation. ```bash chrome --timezone=Asia/Hong_Kong --lang=zh-CN --accept-lang=zh-CN,en --fpseed=121e0opwlltx --user-data-dir=./my_user_data ``` -------------------------------- ### Use Fictional Browser Brand Source: https://context7.com/selfshore/ysbrowser/llms.txt Configure a fictional browser brand using --custom-brand. No --user-agent is needed for fictional brands. A unique --user-data-dir is recommended. ```bash chrome \ --custom-brand="Privacy Browser" \ --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Fingerprint Seeds Source: https://context7.com/selfshore/ysbrowser/llms.txt Controls the generation of consistent browser fingerprints across sessions using global or granular seeds. ```bash # Basic fingerprint seed - affects multiple fingerprint types chrome --fpseed=121e0opwlltx --user-data-dir=./my_user_data # Individual fingerprint seeds for granular control chrome \ --fpseed=121e0opwlltx \ --canvas-seed=myCanvasSeed123 \ --webgl-seed=myWebglSeed456 \ --audio-seed=myAudioSeed789 \ --font-seed=myFontSeed101 \ --svg-seed=mySvgSeed102 \ --speech-seed=mySpeechSeed103 \ --rect-seed=myRectSeed104 \ --quota-seed=myQuotaSeed105 \ --css-seed=myCssSeed106 \ --gpu-seed=myGpuSeed107 \ --user-data-dir=./my_user_data ``` -------------------------------- ### Set HTTP Proxy Server Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Configures the network proxy server for HTTP and HTTPS traffic. Specify the protocol, address, and port. ```bash --proxy-server=http://127.0.0.1:8080 ``` -------------------------------- ### Set Proxy Authentication Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Sets the username and password for network proxy authentication. ```bash --proxy-auth=username:password ``` -------------------------------- ### Simulate Brave Browser Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Configures YSbrowser to simulate the Brave browser, including specific Chrome version, custom brand, and feature enablement/disablement. ```bash chrome --timezone=Asia/Hong_Kong --lang=zh-CN --accept-lang=zh-CN,en --fpseed=121e0opwlltx --user-data-dir=./my_user_data --chrome-version=140.0.0.0 --custom-brand=Brave --enable-features=BraveAPI --disable-features=keyboardAPI,NetworkAPI ``` -------------------------------- ### Spoof Browser Brand with User-Agent Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Spoofs the browser brand and includes a specific user-agent string. This is recommended when spoofing a real browser brand. ```bash --custom-brand="Microsoft Edge" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0" ``` -------------------------------- ### Configure Timezone Source: https://context7.com/selfshore/ysbrowser/llms.txt Sets the browser's timezone to match specific regions. ```bash # Set timezone to match your proxy location chrome --timezone=America/New_York --user-data-dir=./my_user_data # Asian timezone example chrome --timezone=Asia/Tokyo --user-data-dir=./my_user_data # European timezone example chrome --timezone=Europe/London --user-data-dir=./my_user_data ``` -------------------------------- ### Configure WebRTC Source: https://context7.com/selfshore/ysbrowser/llms.txt Manages WebRTC IP leakage by disabling it or routing through a proxy. ```bash # Disable WebRTC completely chrome \ --webrtc-ip-policy=disabled \ --user-data-dir=./my_user_data # Use proxy IP for WebRTC (v5.2+) chrome \ --webrtc-ip-policy=proxy \ --webrtc-proxy-ip=203.0.113.50 \ --user-data-dir=./my_user_data ``` -------------------------------- ### Set Force Device Scale Factor Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Sets the physical to CSS pixel ratio, equivalent to devicePixelRatio. ```bash 1 ``` ```bash 2 ``` -------------------------------- ### Enable CAPTCHA Bypass for Automation Source: https://context7.com/selfshore/ysbrowser/llms.txt Enable Cloudflare Turnstile and PX CAPTCHA bypass for automation tools. A unique --user-data-dir is required. ```bash chrome \ --enable-features=TurnstileClicker,PXAutoHold \ --user-data-dir=./my_user_data ``` -------------------------------- ### Spoof Microsoft Edge Browser Source: https://context7.com/selfshore/ysbrowser/llms.txt Use the --custom-brand and --user-agent flags to spoof Microsoft Edge. Ensure a unique --user-data-dir for each session. ```bash chrome \ --custom-brand="Microsoft Edge" \ --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0" \ --user-data-dir=./my_user_data ``` -------------------------------- ### Configure Geolocation Source: https://context7.com/selfshore/ysbrowser/llms.txt Sets custom coordinates or disables geolocation access entirely. ```bash # Set custom geolocation (latitude, longitude, accuracy in meters) chrome \ --custom-geolocation=40.7128,-74.0060,50 \ --user-data-dir=./my_user_data # Block geolocation access entirely (v5.2+) chrome \ --block-geolocation \ --user-data-dir=./my_user_data ``` -------------------------------- ### Set Specific Chrome Version Source: https://context7.com/selfshore/ysbrowser/llms.txt Specify the Chrome browser version using --chrome-version. This affects API behavior and TLS fingerprints. Always use a unique --user-data-dir. ```bash chrome \ --chrome-version=140.0.7339.185 \ --user-data-dir=./my_user_data ``` -------------------------------- ### Fix Automation Tool Crashes Source: https://context7.com/selfshore/ysbrowser/llms.txt Use the --nocrash flag to fix Playwright/Puppeteer iframe crash issues. Ensure a unique --user-data-dir for each session. ```bash chrome \ --nocrash \ --user-data-dir=./my_user_data ``` -------------------------------- ### Spoof Fictional Browser Brand Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Spoofs a fictional browser brand. A user-agent is not needed for non-existent brands. ```bash --custom-brand="fake brand" ``` -------------------------------- ### Set Custom Geolocation Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Sets the latitude, longitude, and accuracy for navigator.geolocation.getCurrentPosition. ```bash --custom-geolocation=110,220,70 ``` -------------------------------- ### Disable WebRTC IP Leak Prevention Source: https://github.com/selfshore/ysbrowser/blob/main/README-en.md Disables the WebRTC IP policy to prevent real IP leaks. ```bash --webrtc-ip-policy=disabled ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.