handle ed2k links

Well it’s almost the same as let Emacs handle mailto: links. But we use amulecmd to handle the ed2k link this time.

A small script myamule looks like

#!/bin/sh

amulecmd –command=”add $1″
And in Firefox, set network.protocol-handler.external.ed2k to boolean true, and network.protocol-handler.app.ed2k to string /path/to/script/myamule. Firefox will ask if you want to use this external program, if you don’t like it, add network.protocol-handler.warn-external.ed2k as boolean false.

Tags: , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It