Skip to content

Instantly share code, notes, and snippets.

@robspangler
Last active December 2, 2015 18:48
Show Gist options
  • Save robspangler/8849088 to your computer and use it in GitHub Desktop.
Save robspangler/8849088 to your computer and use it in GitHub Desktop.
Opens Chrome from OSX terminal with parameters to allow Chrome to store and access local cookies, or access local files/ajax.
*Opens Chrome from OSX terminal allowing it to store and access local cookies.*
open /Applications/Google\ Chrome.app --args --enable-file-cookies
*Opens Chrome from OSX terminal allowing it to access local files and ajax calls.*
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment