Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created February 9, 2011 15:20
Show Gist options
  • Save funkatron/818625 to your computer and use it in GitHub Desktop.
Save funkatron/818625 to your computer and use it in GitHub Desktop.
To do testing on local HTML/JS apps in Chrome, I start it with this script to disable some security checks.
#!/bin/bash
# USAGE: /path/to/chrometest <localfile.html>
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--disable-web-security \
--allow-file-access-from-files \
--allow-file-access \
--log-level 3 \
$@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment