code-charity / youtube

[top~1 open YouTube & Video web-extension] Enrich your experience & choice! 🧰100+clever features📌set&forget📌Longest-standing(yet rare&tough alone. Please help/join🧩us👨‍👩‍👧‍👧) ..⋮ {playback|content discovery|player|extra buttons|distractions|related videos|shorts|ads|quality|codec|full tab|full screen}
http://improvedtube.com
Other
3.29k stars 499 forks source link

Background of Youtube Shorts changing from theme color to white #2320

Closed salvadorzombie closed 1 week ago

salvadorzombie commented 4 weeks ago

BUG: Youtube Shorts background is pure white instead of theme color (header and left sidebar still show theme color).

I'm not sure when this started, but I went to watch Youtube Shorts a a while ago (less than an hour), and after a split second the entire Youtube Shorts background goes white. I can see the video as normal, but instead of the theme color (I use Night), the specific main area of the screen that is normally a dark blue goes full white. Several times when loading Youtube Shorts, the Night theme is visible (it appears as normal for a brief moment), but then the section goes white. The header and the left sidebar (with Subscription, Playlists, etc) always stay in that dark blue of the Night theme, but everything in the main area with the Shorts videos goes white.

I tried checking in a private window but Improve Youtube doesn't work in that, so everything was white anyway. It seems like something is forcing that area to be white, because sometimes the regular color is there.

This doesn't happen on normal videos. If I just click on a regular video on Youtube, it comes up as normal and there are no problems. That's why I didn't notice this until now, it seems to exclusively be a Youtube Shorts issue.

Also, I haven't changed anything in my Firefox settings (or the extension, or other extensions) between the time that this wasn't happening and now. Everything has been the same for a couple of weeks, and nothing needs to be updated (everything is up to date).

ImprovedTube commented 4 weeks ago

hi! & thanks @salvadorzombie

raszpl commented 4 weeks ago

YT hardcoded:

html[dark] {
    background-color: #0f0f0f !important;
}
html {
    background-color: #fff !important;
}