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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

  • 2 uphendule
  • 13 zinale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu stefanreich

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.

Isisombululo esikhethiwe

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:

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 2

All Replies (2)

more options

Isisombululo Esikhethiwe

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!