Spotify Web - Copy track info to clipboard

Adds an entry in the context menu that copies the selected song name and artist to the clipboard

< Opiniones de Spotify Web - Copy track info to clipboard

Puntuación: Bueno; el script funciona tal y como promete

§
Publicado: 07/01/2025

As someone else have said, I wish we could copy the name of an album.

§
Publicado: 30/03/2025

Also when I select multiple songs with ctrl+A or ctrl+Mouse left click, I want to copy all of them at the same time. For example, I select 3 songs and I copy them, lets say these are the songs :
Song 1
Song 2
Song 3
I want all of them to be copied, but only the one I right clicked gets copied.

§
Publicado: 11/04/2025

Now I have another problem. In spotify web, I can't copy tracks from a playlist. I can copy songs from search results though.

§
Publicado: 11/04/2025

Now I have another problem. In spotify web, I can't copy tracks from a playlist. I can copy songs from search results though.

I solved this with clearing cookies. But previous 2 problems still exist.

§
Publicado: 11/04/2025

Now I have another problem. In spotify web, I can't copy tracks from a playlist. I can copy songs from search results though.

I solved this with clearing cookies. But previous 2 problems still exist.

No it still exist. I found the problem. When I right click with View option as Compact, I don't get the copy track option from playlists. View as "List" has no problem.

§
Publicado: 11/04/2025

Another problem is, I changed spotify's language to English but scripts language doesn't change. But this is not a big deal. It just looks weird.

cuziAutor
§
Publicado: 14/04/2025

Multiple copy should work now and compact view in playlists should work again. Not sure about the language problem, I changed something, maybe it helps.

Copying album name: If you use Chrome, it should now be possible to click the album title and that should select it and then you can copy with CTRL + C. In Firefox seems to not work. I don't really want to implement another context menu, because it would be different than the existing one.

§
Publicado: 14/04/2025
Editado: 14/04/2025

"Select multiple songs with ctrl+A or ctrl+Mouse left click" is fixed but when I hover on "Add to playlist" before I hover on "Copy track info", "Add to playlist" hover gets stucked. I don't know if I explained it correctly.
"Copying with compact view" is fixed.
Language thing is not fixed but its ok its not important, don't add extra code for this to make the code complicated. You can revert whatever change you did in "I changed something, maybe it helps"

Can you revert the copying album name change too? I can just add a playlist to my library if I need to copy its name. Your change made the ui ugly, everytime I click on an album name, its background becomes blue and looks very ugly and I worry about the spagetti code.
I worry that after a spotify update, things might brake. This script never brake anything so far but I had this problem with other extensions. Make the code as simple as possible if you can.

§
Publicado: 14/04/2025
Editado: 14/04/2025

"Add to playlist" doesn't get stucked when I turn the script off btw.

You said "compact view in playlists should work again", so it used to work but a spotify update broke that function of the script?

cuziAutor
§
Publicado: 16/04/2025

OK I have removed those changes again. I have fixed the "Add to playlist" problem. That seems like something that might break soon again, if Spotify changes the website again, but I guess it is not that big a problem.

I don't really remember about compact view, there was something in my code that looked like it was for compact view. I don't use the compact view myself, so possible is has never worked or only for short time. Also I probably won't notice if that breaks again.

§
Publicado: 16/04/2025

Everything fixed, thank you! If things break again, I can e-mail you right?

cuziAutor
§
Publicado: 16/04/2025

Yeah sure. For some reason I don't always get the emails from greasyfork notifications.

Publicar respuesta

Inicia sesión para responder.