Snag movie audio tracks
Okay, watching movies in the workplace is a definite no-no, but they didn't say anything about listening to movies . But I'd rather do it offline, so I whipped up a little bookmarklet that will snag the .MP3 URL off the movies I chose. First off, select a movie from the list . Then list all the URLs in that page by using Javascript's document.links object. I noticed that the URI for the MP3 link is always the ninth, so just get the ninth URL: document.links[8].href . Using a regular expression, winnow the URL: document.links[8].href.replace(new RegExp('[?&=]','g'),' ').split(' ')[2] Drop in the javascript resource header, and voila! here's the bookmarklet that will grab audio track's URL for download. Right-click and bookmark the link. Or, drag and drop the link to the bookmarks toolbar.