Today I learned how to write a bookmarklet and wrote one that updates the current page’s url. Bookmarklets seem like a great way to help automate all the things.

Today I wanted to simplify my morning Gmail-checking workflow. I start with clicking one of the labels in the sidebar, then filtered down to emails that are in my inbox or unread.

Before, I’d add something like {label:unread label:inbox} to the search box and hit search. Now, I can click the bookmarklet to run the filter.

The one I’m using looks something like this:

    javascript:(function() {

This works great for my workflow, and I’m excited to have another tool in my toolbox!

See also