Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I want to register a custom protocol handler in Firefox/Linux

more options

Hi,

I am trying the usual methods to register a protocol handler for my local application. Meaning, I created these values in about:config:

network.protocol-handler.app.javax = /home/stefan/bin/j network.protocol-handler.expose.javax = false network.protocol-handler.external.javax = true

However, when I type "javax:test" in the URL bar, it sends me to Google.

Hi, I am trying the usual methods to register a protocol handler for my local application. Meaning, I created these values in about:config: network.protocol-handler.app.javax = /home/stefan/bin/j network.protocol-handler.expose.javax = false network.protocol-handler.external.javax = true However, when I type "javax:test" in the URL bar, it sends me to Google.

Chosen solution

When you would create only network.protocol-handler.expose.javax = false then Firefox should prompt for the application to handle this protocol and add this protocol to mimeTypes.rdf. Testing/forcing this javax protocol via the location/address bar wouldn't work.

This works for me to force a dialog to select the application:

Read this answer in context 👍 2

All Replies (2)

more options

Seçilmiş Həll

When you would create only network.protocol-handler.expose.javax = false then Firefox should prompt for the application to handle this protocol and add this protocol to mimeTypes.rdf. Testing/forcing this javax protocol via the location/address bar wouldn't work.

This works for me to force a dialog to select the application:

more options

Yesss!! I see now, it doesn't work in the address line (why not?). With a link, all fine. Thanks!