Greasy Fork is available in English.

New YouTube Pic Link

Adds buttons that link to YT thumbnail images next to the title

< New YouTube Pic Linkについてのフィードバック

質問/コメント

§
投稿日: 2019/10/05

change button color to black

var maxbut = document.createElement('button'); maxbut.style.backgroundColor = "black"; maxbut.style.color = "grey"; maxbut.style.border = "none"; ...

var hqbut = document.createElement('button'); hqbut.style.backgroundColor = "black"; hqbut.style.color = "grey"; hqbut.style.border = "none";

FRex作者
§
投稿日: 2019/10/06

To fit dark themes better? These look really jarring in default/light YT.

Does YT on desktop even have a dark theme option or is this some script, css or extension doing this?

I'd add this but only in an if that checks style of some other element (to confirm dark theme is on first).

FRex作者
§
投稿日: 2019/11/08
編集日: 2019/11/08

Okay, done in 0.0.4, in dark theme the buttons are now black as you asked.

I check if dark theme is on the same way as the script you linked does.

返信を投稿

返信を投稿するにはログインしてください。