last.fm 1-click delete

Shows a delete "x" button for scrobbles

< 腳本last.fm 1-click delete的回應

評論:正評 - 腳本一切正常

§
發表於: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;
}

發表回覆

登入以回覆