Is there a way that my add-on (currently SDK-based) can listen in for the choice by the user of a particular web-based protocol handler to find out its URL (but before this web-based protocol handler site is loaded)?
You could wrap nsWebHandlerApp
, that is:
nsIHandlerApp
and nsIWebHandlerApp
yourself, passing calls back to an instance of the original component.launchWithURI
.