Mp3Tunes Greasemonkey script for Opera @ tk here on Friday, August 11, 2006 12:40 AM
You could also try tk Social Bookmarking Search or tk Video Search!

Friday, August 11, 2006

Mp3Tunes Greasemonkey script for Opera

I've been playing around with Mp3Tunes for quite a while now and webloading mp3s is quite irritating. You need to copy the url and paste it into the webload form. Yeah it seems simple at first, but when you do it often enough, it becomes a chore to do those repetitive and mundane tasks. There is a plugin from Mp3Tunes available to make that easier, but it's only available for Firefox. What a bummer!

So after seeing a digg post about a script that embeds a flash player to autoplay mp3s on webpages, I was inspired to make this script. Well, I thought of making it earlier, but procrastination held me back till today. There are some things you should know though.

First, I spent only an hour making this script. That includes testing, reading code, etc. I know it should have been faster but apparently pasting in the base64 code of the image into the address bar of opera gives you nothing after pressing enter. Clicking that exact same code in the form of a link loads the image. It left me wondering if my base64 code was correct!

Anyway, this is not really my script since I didn't write most of it. Whoever made the script for Firefox did the hard work. I just ported it over to Opera by changing a single line. :) That line is simply the sideload image file converted to base64 encoding. Originally I wanted to base this script off other similar mp3 scripts, but after reading a couple, I wondered if I could port the Firefox code and got it working after a few tries.

Second, this script works quite slowly on webpages with tons of mp3s, like maybe above 200 mp3s. The good news is that it doesn't hang Opera and you can wait for it to finish loading while working on other tabs. The bad news is that it may take a min or 2 to load entirely.

Well, that's about it. I hope you enjoy using this script. Btw, I only tested mp3 and wma files. But the other supported formats should work as well as the original script. :)

Update: I added a Firefox version here.


You could also try tk Social Bookmarking Search or tk Video Search!