[Tech] How to register USK@/etc in mozilla?
Michael Rogers
m.rogers at cs.ucl.ac.uk
Thu Nov 2 11:36:54 UTC 2006
toad wrote:
> How do you get Firefox to detect that a USK is a USK and feed it to
> Freenet? Anyone got a HOWTO we could include?
I don't know if it's possible to detect "USK at blah", but you can set up a
URL handler for "freenet:USK at blah" quite easily:
* In Firefox, go to about:config
* Right click and select New -> String
* Enter the preference name: "network.protocol-handler.app.freenet"
* Enter the preference value: "/path/to/script"
The script will be called with the URL (including the freenet: prefix)
as an argument. My script looks like this:
#!/bin/bash
/usr/bin/firefox "http://localhost:8888/$1"
If your node's running on another machine you can modify the script
accordingly, but bear in mind that your connection to the other machine
won't be encrypted.
Cheers,
Michael
More information about the Tech
mailing list