ariya/phantomjs — pull request #252 by davidrapin (2012-05-29 12:20:45+00:00)
Title: Added 'page.navigationLocked' and 'page.setnavigationLocked' to lock navigation away from the current page.

Also added two listeners: 'page.onUrlChanged' and 'page.onNavigationRequested'.

Fixes http://code.google.com/p/phantomjs/issues/detail?id=562