Make text green when download started
Finally, feedback
This commit is contained in:
@@ -20,7 +20,8 @@ if (!(titleNode && titleNode.matches("a#video-title-link"))) {
|
|||||||
link: link,
|
link: link,
|
||||||
}),
|
}),
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res);
|
textNode = titleNode.querySelector("yt-formatted-string");
|
||||||
|
textNode.style.setProperty("color", "green", "important");
|
||||||
res.json().then((data) => console.log(data));
|
res.json().then((data) => console.log(data));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user