Firefox/protocols: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Created page with "==Adding a New Protocol== To add a new protocol -- e.g. <code>wooz://</code> -- you add the following entries to <code>about:config</code>: network.protocol-handler.app.{{arg..."
 
No edit summary
Line 7: Line 7:


The value of the first line may be arbitrary, as Firefox will let you browse for the executable to use when handling a link.
The value of the first line may be arbitrary, as Firefox will let you browse for the executable to use when handling a link.
(To add an item to <code>about:config</code>, search for it. The UI will give you the option to add or modify. [https://support.mozilla.org/en-US/kb/about-config-editor-firefox])
==Links==
* '''2017-07-30''' [https://support.mozilla.org/en-US/questions/1169576 I want to register a custom protocol handler in Firefox/Linux] @Mozilla Support

Revision as of 15:42, 14 June 2021

Adding a New Protocol

To add a new protocol -- e.g. wooz:// -- you add the following entries to about:config:

network.protocol-handler.app.<protocol> = /usr/share/bin
network.protocol-handler.expose.<protocol> = false
network.protocol-handler.external.<protocol> = true

...where in this case <protocol> would be wooz.

The value of the first line may be arbitrary, as Firefox will let you browse for the executable to use when handling a link.

(To add an item to about:config, search for it. The UI will give you the option to add or modify. [1])