Skip to content

Instantly share code, notes, and snippets.

@johan48191
Forked from robspangler/chrome-parameters
Created December 2, 2015 18:48
Show Gist options
  • Select an option

  • Save johan48191/ef55a51fcf71914c3521 to your computer and use it in GitHub Desktop.

Select an option

Save johan48191/ef55a51fcf71914c3521 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