Launcher

Posted on Sun, 10 Jun 2007 in Technology
Last edited Fri, 5 Sep 2008
Firefox should have a way to launch an external application on a link from the context menu, but it doesn't, so I made a extension: launcher-1.0.xpi. The source is at http://elder-gods.org/~larry/repos/launcher/.

It doesn't have a user-friendly dialogue box to configure it yet. To use it you create a file called link-handlers.js in your firefox profile directory. It should contain a javascript hash table like this one:

{"seeurl" : "gnome-terminal -x sh -c \"echo url: %r | less\" ",
 "links"  : "gnome-terminal -x links %r "  }

update: I have a new version, launcher-1.1.xpi. It doesn't have the newlines problem and works on Firefox 3.

Trackback pings for this entry are listed below. The URL to ping for this entry is: http://elder-gods.org/~larry/blog/trackback/86
(let ((x (quote (quasiquote (let ((x (quote (unquote x)))) (unquote x))))))
  (quasiquote (let ((x (quote (unquote x)))) (unquote x))))