ariya/phantomjs — comment on commit e88e008ecf742f705feba07fa9ada3d21f802c82
File: src/utils.cpp line 116
By detro:

No no, I think I mis-explained myself.

So, I'll recap:
1) OK for the option --remote-debugger-autorun=[yes|no]
2) I'd change the Utils::load...() to accept a string of arbitrary "something to run after the JS has been injected"

This would maintain the behaviour of your code AS IS, and make the API for Utils a bit more generic (again that "autorun" variable is what I think shouldn't be there!)