Created
July 13, 2012 12:51
-
-
Save brisbanewebdeveloper/3104742 to your computer and use it in GitHub Desktop.
Bookmarklet for searching music quickly at Beatport to tweet !!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:function s(){window.open('http://www.beatport.com/search?query='+encodeURIComponent(prompt("Search Text", "").replace(/\s+[0-9]*\s+[0-9][0-9]?\/[0-9][0-9]?\/[0-9][0-9]|[0-9][0-9]:[0-9][0-9].+$/igm, '').replace(/[^'a-z0-9]/igm, ' ').replace(/(re)?mix|[^0-9a-z]+$/gi, '')), '_blank');}s();void(0) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this bookmarklet with iTunes. My playlist has the following column and you may have to layout the column same to make this bookmarklet work:
Name, Artist, Album by Artist, Date Added