Skip to content

Instantly share code, notes, and snippets.

@sokcuri
Last active February 10, 2022 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sokcuri/1e4337f0a305118916e16b5516bd8a22 to your computer and use it in GitHub Desktop.
Save sokcuri/1e4337f0a305118916e16b5516bd8a22 to your computer and use it in GitHub Desktop.
PetitLyrics GetLyrics Script
function e(){if(document.URL.lastIndexOf('petitlyrics.com/lyrics/')==-1)return;$.post('//petitlyrics.com/com/get_lyrics.ajax',{lyrics_id:document.URL.substring(document.URL.lastIndexOf('/')+1)},function(data){let s='';for(let x of data){s+=Base64.decode(x.lyrics)+'\r\n';};prompt($('.title-bar').text(),s);})};e();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment