MP3 Search

A quick JS snippet to search Google for MP3 files with the given name.

/**
 * A quick JS snippet to search Google for MP3 files with the given name.
 *
 * @author Phill Sparks <me@phills.me.uk>
 * @license http://creativecommons.org/licenses/by-sa/2.0/uk/ Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales
 */
if ((t = prompt("Song Title")))
  window.location.href =
    'http://google.co.uk/search?q="' +
    t +
    '" last modified mp3 intitle:"index of" -html -htm -php -asp';