חיפוש בתמיכה

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

  • 2 תגובות
  • 13 have this problem
  • 1 view
  • תגובה אחרונה מאת 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.

פתרון נבחר

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

כל התגובות (2)

more options

פתרון נבחר

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!