Created
April 29, 2012 09:30
-
-
Save pung96/2549001 to your computer and use it in GitHub Desktop.
Youtube2Mp3
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 cMp3(){ | |
var cUrl=location.href; | |
var yPar=(cUrl.match(/v=([a-zA-Z0-9_\-]*)/))[1]; | |
var nUrl="http://dirpy.com/studio/"+yPar | |
+"? album=youtube&srcfmt=18&comment=youtube," | |
+encodeURIComponent("http://www.youtube.com/watch?v="+yPar); | |
window.open(nUrl,"_blank"); | |
}; | |
cMp3(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment