A Firefox extension called iMacros will save you some time by recording a group of routine tasks in Firefox and letting you repeat them whenever you want, with absolutely no programming required!
Once you get the hang of it, you can do more than just repeat a set of steps, and start scripting some very complex tasks in Firefox. You can call your mini-program from a library which goes in the sidebar on the left side of the screen. Or you can bookmark your macro: it behaves just like any other bookmark in your list (it can be organized and tagged, put in the bookmarks toolbar, etc.) but calls your macro instead of a web page.
Subscribe to MakeUseOf and get daily updates about new cool websites and programs in your email for free. Plus get free cheat sheets to your favorite programs.