macOS: Open Chrome without web security
28 September 2022 (Updated 28 September 2022)
Make sure you’ve quit all Chrome windows. You can right-click on Chrome from the Dock and select Quit
or you can hit Cmd + q
whilst Chrome is open. Then run the below from your terminal:
open -n -a Google\ Chrome --args --disable-web-security --user-data-dir="/tmp"
Useful if you want to avoid CORS errors during development.
P.S. If you’re dealing with CORS issues, my sympathies.
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment