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;
}

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址