Windows 10 bereikte EO (einde ondersteuning) op 14 oktober 2025. Als je Windows 10 gebruikt, lees dan dit artikel.

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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

  • 2 antwoorden
  • 13 hebben dit probleem
  • 684 weergaven
  • Laatste antwoord van stefanreich

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.

Gekozen oplossing

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:

  • data:text/html,%3Ca href="javax%3Atest.com"%3E%26lt;javax:test.com%26gt;%3C/a%3E
Dit antwoord in context lezen 👍 2

Alle antwoorden (2)

Gekozen oplossing

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:

  • data:text/html,%3Ca href="javax%3Atest.com"%3E%26lt;javax:test.com%26gt;%3C/a%3E

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