registerProtocolHandler

 registerProtocolHandler  is a method on the  object usable from JavaScript in the browser. With it one can register custom protocols, like the web+action protocol that's used by indie-config.

Supported in at least Firefox and Chrome.