Make your life easier with Firefox bookmark keywords

I think this is one of those things that people either know about and use actively, or have never heard of. If you’re the latter: read on!

I often need to view bugs in Bugzilla by bug number, and typically resort to going through my history and hacking the URL. It works, but it’s kind of a pain. But you can make it as easy as typing “bz 123456″ to look up bug #123456.

Pull up the Bookmarks menu (“Bookmarks” / “Show All Bookmarks”), and then select the “Bookmarks Menu.” Then, “Organize” / “New Bookmark.” There’s probably an easier way, but it eludes me. Here’s an example of what I filled in:

 

The “keyword” is what you can type into the URL bar to trigger the bookmark. %s is the rest of what you type, analogous to ARGV for you shell scripters. What’s magical is that you can plug %s into the Location in the bookmark.

So now “rm 1234″ will look up task 1234 in Redmine. Setting one up for Bugzilla (I named mine “bz”) is just as easy.

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>