Firefox Metabookmarks 2

So far so good. The Firefox add-on SDK is really straightforward and I’ve tried a couple of simple examples.

I want to be able to write URLs in the form bookmark:tag which will open a page showing a list of bookmarks matching tag. I need to let Firefox recognise a new bookmark: protocol.

This Stack Overflow post seems like a good starting point.