Created
April 3, 2012 05:51
-
-
Save saadullahsaeed/2289587 to your computer and use it in GitHub Desktop.
Bookmarklet to open current Pandora Song in Mog
This file contains 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 pToMog(){ | |
var song = document.getElementsByClassName('songTitle')[0].text; | |
var artist = document.getElementsByClassName('artistSummary')[0].text; | |
window.open('https://mog.com/m#search/'+artist+' '+song);/*Pandora to Mog by Saad*/ | |
}; | |
pToMog(); | |
void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment