Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add protocol handler to firefox from extension

I want to trap request for a my protocol from Firefox extension. For example if we type <my-protocol name>://... in address bar It should call a JavaScript function in an extension. I want to achieve it if possible without explicit settings.

like image 680
Xinus Avatar asked Oct 12 '09 18:10

Xinus


1 Answers

  • http://www.nexgenmedia.net/docs/protocol/
  • https://developer.mozilla.org/en/nsIProtocolHandler
  • And/or google for firefox protocol handler
like image 139
Nickolay Avatar answered Sep 30 '22 03:09

Nickolay