Disable Chrome security for MAC

/ Published in: Bash
Save to your folder(s)

Copy this code and paste it in your HTML
  1. $ open -a Google\ Chrome --args --disable-web-security
  2. Also if you're trying to access local files for dev purposes like AJAX or JSON, you can use this flag too.
  4. -–allow-file-access-from-files

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.