MetroSave

Add Save button to Metrolyrics site

Autor
Zart
Instalaciones diarias
0
Instalaciones totales
5
Calificaciones
0 0 0
Versión
2.2
Creado
13/03/2017
Actualizado
20/03/2017
Tamaño
2.55 KB
Licencia
Desconocida
Funciona en

Supports desktop and mobile versions. You can also use downloader as bookmarklet:

javascript:var%20r=document.querySelectorAll('.verse,.writers:not(:last-child),.lyric-source>*:not(:nth-last-child(-n+2))');for(var%20i=0,s=[];i<r.length;i++){for(var%20j=0;j<r[i].childNodes.length;s.push(r[i].childNodes[j++].textContent));if(r[i].tagName=='P')s.push('\n\n');else%20s.push('\n');}%20s=s.join('\n').replace(/\n{2,3}/g,'\n').replace(/\n/gm,'\r\n');%20var%20a=document.createElement('A');a.target='void';a.download=ml.lyricName+'.txt';var%20unsafe=/[^\0-\x7f\xa9]/,BOM='\ufeff';if(unsafe.test(s))a.href=encodeURI('data:text/plain;utf8,'+BOM+s);else%20a.href='data:text/plain;quoted-printable,'+escape(s);a.click();

In mobile browsers (where bookmarklets disabled) you can copy all except first "j", type "j" in address bar, "Paste", "Enter"

avascript:var%20r=document.querySelectorAll('.verse,.writers:not(:last-child),.lyric-source>*:not(:nth-last-child(-n+2))');for(var%20i=0,s=[];i<r.length;i++){for(var%20j=0;j<r[i].childNodes.length;s.push(r[i].childNodes[j++].textContent));if(r[i].tagName=='P')s.push('\n\n');else%20s.push('\n');}%20s=s.join('\n').replace(/\n{2,3}/g,'\n').replace(/\n/gm,'\r\n');%20var%20a=document.createElement('A');a.target='void';a.download=ml.lyricName+'.txt';var%20unsafe=/[^\0-\x7f\xa9]/,BOM='\ufeff';if(unsafe.test(s))a.href=encodeURI('data:text/plain;utf8,'+BOM+s);else%20a.href='data:text/plain;quoted-printable,'+escape(s);a.click();