Robert Horvick
Robert Horvick
Husband, father, geek, brewer of hoppy beers. Robert lives near Raleigh, North Carolina with his wife and 4 kids.
  • Facebook
  • Google+
  • Twitter
Did I help you solve a problem? Do you want to say thanks? Well - how about you buy me a BTC beer?
Donate Bitcoins
Adding a custom protocol to Firefox for easy Erlang docs
July 3rd, 2009 - 2 minute read

To make getting to the Erlang docs a bit quicker I added a custom protocol handler to firefox so when I go to:


I get redirected to

To do this I first created a little shell script that would take the address and spawn firefox with the appropriate url. (insert caveat about this being the first bash script I’ve written in 10 years here …).

ERLANG_TOPIC=`echo $1 | sed 's/erlang:\/\///'`
exec firefox$ERLANG_TOPIC.html

Next I marked it as executable:

chmod +x erlang.protocol

Finally I followed these directions and added the following config settings in firefox:

Adding custom protocol to firefox

Since the Erlang/OTP doc pages match their module names this works pretty well.

For queries where I’m not sure what I want I added a Erlang specific google search to my Erlang Resources page.

comments powered by Disqus