Execute this in terminal:
I use the above settings when testing Backbone JS + Require JS + Underscore JS + Text Plugin to read files from file system. Google Chrome won't allow it unless the above parameter is set. This is also related to disabling Chrome's Same Origin Policy.
open /Applications/Google\ Chrome.app/ --args --disable-web-security
I use the above settings when testing Backbone JS + Require JS + Underscore JS + Text Plugin to read files from file system. Google Chrome won't allow it unless the above parameter is set. This is also related to disabling Chrome's Same Origin Policy.
Hi,
ReplyDeleteThanks for the solution, worked great !
But do you have any idea on how to do this permanently (aka without using terminal on each launch) ? I know Windows allow to add some args so each time you launch app it uses those args but how to do it with Mac OSX ?
Thanks !