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’.

Learn More

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

How to associate a new protocol with a new program in firefox?

  • Geen antwoorden
  • 1 heeft dit probleem
  • 1 weergave
more options

I'm trying to prepare a firefox global config in linux to force any new user to use (import by firefox) those specific settings in their local firefox config.

I've already done most of the the prefs part (using local-settings.js and mozilla.cfg config files) but now I need to associate a new protocol (e.g. foo://qw3xdfczYgUnz) to be opened, every time (automatically), by an specific app (e.g. /usr/bin/php /opt/FOO/foo.php %s) when this kind of url is written in Location bar.

All kind of help I found in Mozilla support is about gnome (http://kb.mozillazine.org/Register_protocol) but I'm using icewm desktop so I don't have gconftool-2 command to associate new protocol in OS. I've already write the prefs related to network.protocol-handler.* but it doesn't work.

  • pref("network.protocol-handler.expose.foo", false);
  • pref("network.protocol-handler.external.foo", true);
  • pref("network.protocol-handler.app.foo", "/usr/bin/php /opt/FOO/foo.php %s");

I would like that any new system user auto-"import" this association like a lockPrefs from mozilla.cfg or using OS association or both.

How could I do that? Thanks a lot!

I'm trying to prepare a firefox global config in linux to force any new user to use (import by firefox) those specific settings in their local firefox config. I've already done most of the the prefs part (using local-settings.js and mozilla.cfg config files) but now I need to associate a new protocol (e.g. foo://qw3xdfczYgUnz) to be opened, every time (automatically), by an specific app (e.g. /usr/bin/php /opt/FOO/foo.php %s) when this kind of url is written in Location bar. All kind of help I found in Mozilla support is about gnome (http://kb.mozillazine.org/Register_protocol) but I'm using icewm desktop so I don't have gconftool-2 command to associate new protocol in OS. I've already write the prefs related to network.protocol-handler.* but it doesn't work. * pref("network.protocol-handler.expose.foo", false); * pref("network.protocol-handler.external.foo", true); * pref("network.protocol-handler.app.foo", "/usr/bin/php /opt/FOO/foo.php %s"); I would like that any new system user auto-"import" this association like a lockPrefs from mozilla.cfg or using OS association or both. How could I do that? Thanks a lot!

Bewerkt door dpatino op