diff --git a/hotkey.js b/hotkey.js index 39e6c72..32e1abd 100644 --- a/hotkey.js +++ b/hotkey.js @@ -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)); }); }