I wrote a ubiquity script that lets you download just about anything on the page you’re visiting, for example images and javascript files.  It’s called “save-all” “download-files” and it’s available as a gist on github.  One of my classes at university has a “resource page” where they provide all of the datasets for our statistics homework; however, you have to click on each one of them (stored in “.dat” format) to get them all!  What a waste of time.  So instead of clicking on each one, I wrote the following script.  Here’s how you would use it:

download-files .*png$ ~/Desktop/Images

Currently, only regular expressions are supported, so in the first example, the “.*png$” specifies that the script should download all urls on the current page that end in “png”.  I’d like to support shell wildcards (e.g. “*.png”) and I may do that soon.
download-files dat$ ~/Desktop/DataFiles

This second example shows that you can leave off the “.*” and just tell it to get things ending in “dat”.
download-files .*

The third example shows how you can leave off the destination folder and a pop-up window will ask you where you want the files to be saved.
Enjoy!

Update: Changed the name of the command from “save-all” to “download-files”.