View previous topic :: View next topic |
Author |
Message |
steevo n00b

Joined: 13 Jan 2006 Posts: 4 Location: Missouri
|
Posted: Fri Jan 13, 2006 6:49 am Post subject: Registering firefox protocols |
|
|
When I had ubuntu install back when I first started using Linux (~2 months ago) I did the equivalent of emerge samba and firefox had the smb:// protocol registered and a plugin/app was used for browsing the share within the firefox browser. Any idea what I can do to get the same usage from my gentoo firefox? |
|
Back to top |
|
 |
dyeu n00b


Joined: 07 Sep 2004 Posts: 40 Location: Belgium
|
Posted: Fri Jan 13, 2006 10:54 am Post subject: |
|
|
I am not sure this is what you want, but adding :
Code: | user_pref("network.protocol-handler.app.[protocol_name]", "/[path_to_executable]"); |
to your user.js registers [executable] as the handler for [protocol_name].
You can also use the about:config page to add a new String, name = network.protocol-handler.app.[protocol_name] and value = [path_to_executable]
Does this do the trick ? |
|
Back to top |
|
 |
steevo n00b

Joined: 13 Jan 2006 Posts: 4 Location: Missouri
|
Posted: Sat Jan 14, 2006 3:51 am Post subject: |
|
|
Thanks for the tip, but where I'm stuck is what executable to use in the string value (using the about:config method). I was wondering if there was an executable with the samba package to use or if there was another package to emerge.
If nothing else I could just use the konqueror browser - don't know much about it, but the samba page says it has the protocol registered with a browsable feature. |
|
Back to top |
|
 |
|