Make text green when download started

Finally, feedback
This commit is contained in:
PhatPhuckDave
2024-07-22 15:45:53 +02:00
parent b92a325b99
commit 676748f614

View File

@@ -20,7 +20,8 @@ if (!(titleNode && titleNode.matches("a#video-title-link"))) {
link: link,
}),
}).then((res) => {
console.log(res);
textNode = titleNode.querySelector("yt-formatted-string");
textNode.style.setProperty("color", "green", "important");
res.json().then((data) => console.log(data));
});
}