ariya/phantomjs — pull request #303 by rupert (2012-08-20 13:16:33+00:00)
Title: Add option to only request local resources

Added an option, --local-only=[yes|no], to stop phantomjs requesting remote resources. The code simply checks the URL is using the "file" scheme.