last.fm 1-click delete

Shows a delete "x" button for scrobbles

< Commentaires sur last.fm 1-click delete

Avis: Bon - le script fonctionne correctement

§
Posté le: 2025-04-01

Not sure if this script if actively being developed anymore, but I made some tweaks to the CSS to make it work better. I made the button larger and it now hides the deleted scrobble when clicked. So you can essentially leave your mouse in the same spot and keep pressing until all the dupes are gone. I found an old batch of scrobbles from 2006 that had 16 dupes each, so this was very handy for that task.

GM_addStyle(`
.one-click-delete {
position: absolute;
margin-left: .25em;
opacity: .5;
cursor: pointer;
padding: 1rem;
z-index: 100;
color:#fff;
background: rgba(255,0,0,1);
top: 0;
right: -2.5rem;
bottom: 0;
border-bottom: 1px solid #fff;
}
.one-click-delete:hover {
background-color: rgba(255,0,0,0.7);
opacity: 1.0;
color: #fff;
font-weight: bold;
}
.ajax-form-disable-hover:has(.one-click-delete) {
display:none;
}

Poster une réponse

Connectez-vous pour poster une réponse.

长期地址
遇到问题?请前往 GitHub 提 Issues。