Highlight items without cover
This commit is contained in:
parent
aa106319c2
commit
80aa3d0f4b
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name QuickDelete
|
// @name QuickDelete
|
||||||
|
// @description Quickly delete or refresh items in Jellyfin
|
||||||
// @namespace https://git.m3.fyi/Marsn3/userscripts
|
// @namespace https://git.m3.fyi/Marsn3/userscripts
|
||||||
// @version 0.3
|
// @version 0.4
|
||||||
// @author Marsn3
|
// @author Marsn3
|
||||||
// @match https://media.m3.fyi/*
|
// @match https://media.m3.fyi/*
|
||||||
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
|
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
|
||||||
|
|
@ -150,6 +151,9 @@
|
||||||
|
|
||||||
for (let i = 0; i < collection.length; i++) {
|
for (let i = 0; i < collection.length; i++) {
|
||||||
let curr = collection[i];
|
let curr = collection[i];
|
||||||
|
if (curr.firstChild.firstChild.classList.contains("audiotrack")) {
|
||||||
|
curr.style.backgroundColor = "rgba(251, 73, 52, 0.7)"
|
||||||
|
}
|
||||||
|
|
||||||
// Append buttons to list
|
// Append buttons to list
|
||||||
curr.appendChild(refreshButton());
|
curr.appendChild(refreshButton());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue