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
@wrathhunter
Copy link

how to us ethis

@wrathhunter
Copy link

i need it for edge

@yimity
Copy link
Author

yimity commented Apr 28, 2024

Open the terminal and paste the code, then press enter.
It's for Mac.

@mcanbayraktar
Copy link

for windows ?

@yimity
Copy link
Author

yimity commented May 14, 2024

for windows ?

Sorry I dont know how to do in Windows。
As I know, I think you can modify the icon's properties, right click on the icon, then modify the properties.
Or Google it.

@ddt313
Copy link

ddt313 commented Jun 3, 2024

for windows ?

Run in cmd:

"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=%LOCALAPPDATA%\Google\chromeTemp

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --disable-web-security --disable-gpu --user-data-dir=%LOCALAPPDATA%\Microsoft\Edge\User Data\Default

@mcanbayraktar
Copy link

for windows ?

Run in cmd:

"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=%LOCALAPPDATA%\Google\chromeTemp

"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --disable-web-security --disable-gpu --user-data-dir=%LOCALAPPDATA%\Microsoft\Edge\User Data\Default

that works perfect 👍

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