Skip to content

Instantly share code, notes, and snippets.

@yimity
Created February 13, 2020 13:55
Show Gist options
  • Save yimity/ca3dffea06e76895ba7644d34c772ba6 to your computer and use it in GitHub Desktop.
Save yimity/ca3dffea06e76895ba7644d34c772ba6 to your computer and use it in GitHub Desktop.
disable-web-security
open -a "Google Chrome" --args --disable-web-security --user-data-dir
open -a "Microsoft Edge" --args --disable-web-security --user-data-dir
@CongAn
Copy link

CongAn commented Mar 28, 2025

The path following --user-data-dir must be enclosed in double quotes.

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --disable-web-security --disable-gpu --user-data-dir="%TEMP%/disable-web-securit"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment