jonleighton/poltergeist — pull request #188 by JonRowe (2012-11-01 13:56:00+00:00)
Title: Allow extension JS files to be injected into PhantomJS with the agent

Allow extension JS files to be injected into PhantomJS with the agent.

This allows things like geolocation and other APIs to be faked out before the page loads.

(I'm using this to test a phonegap application so being able to inject before the page loads to simulate phonegap is important to me)