Since many of you will be new to Greasemonkey, I should say a few words. Greasemonkey is a Firefox add-on that basically allows a user to install scripts that act on the websites they visit. In our case, a Greasemonkey script can "monkey-patch" the t61 code to do what we want it to. You can install Greasemonkey at its add-on site and learn more at the wiki.
The script I've made will add a shuffle link to the right of the previous button. Once enabled, it will shuffle within your current playlist, whether you are playing the hot list, your recently added, or someone else's. Nifty, eh?
Caveats are as follows:
- Turn off shuffle when listening to the radio. Radio is not yet supported, I'll work on something clever for this.
- I've had to change the prev/stop/next links to make room for the shuffle link. Just be aware that these have changed, I think they're still pretty clear.
- You can't yet shuffle across multiple pages of a playlist (which, sadly, is just recently added and the hot page lists). This will be addressed in a future version.
- At some time the developers of t61 will get around to implementing a shuffle of their own. In that case, you will likely want to disable this script.
t61shuffle.user.js
Alternatively, you can use the extension. This is unsigned, firefox will definitely complain, and I don't know how upgrading will work (I'm not so versed in the world of extensions), but for those who would rather go this route than installing Greasemonkey or can't install Greasemonkey for whatever reason, here it is:
thesixtyonecomshufflesupport.xpi
Going forward, I plan to update this script with some nifty features as well as updating old ones. I've got a script that fine tunes rack genres (so I can say I want to listen to everything but dance and electronica, for example) that I will be posting soon. I've got a few other ideas as well. Do you have an idea for a script? Something you want changed/added? Let me know!