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.
  3.  
  4. -–allow-file-access-from-files
  5.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.