Removes YouTube’s new “Delhi” player experiment flags to restore the old video player UI. In English, this userscript brings back the Youtube UI we all know and love. This was developed due to many users like myself wanting a free method to get rid of the new video player change Youtube has forced on us. This userscript also comes with Return Youtube Dislike, Skip Sponsored Segments via Sponsorblock & many tweaks, all of which are toggleable.
< 腳本OldYTPlayer | YouTube Old Player UI Pre-2025 & Minimal Tweaks的回應
Edit: I fixed all my problems, it wasn't actually this custom filter that was causing your plugin to not work. It was uBlock's built-in filter called "Quick Fixes." :( I will leave it disabled for now, doesn't seem to be causing any issues. Now combined with that ublock filter above I am able to restore theater mode's smaller icons. Although the bigger ones do appear for a second and you can almost see them load for a split second cuz I'm using ublock it still works. Wish there was a way to somehow load the buttons before the webpage loads, someway idk.
Hi there,
Theater mode should work fine, atleast on my end. Yes, UBlock origin has caused issues for another user, see this discussion page for info. Which UBlock version were/are you using to replicate this? Is it UBlock Origin or the Lite version, and which browser were you using?
I am glad you figured out how to fix this specific issue you were experiencing.
Hi there,
Theater mode should work fine, atleast on my end.
Yes, UBlock origin has caused issues for another user, see this discussion page for info. Which UBlock version were/are you using to replicate this? Is it UBlock Origin or the Lite version, and which browser were you using?I am glad you figured out how to fix this specific issue you were experiencing.
You don't notice your theater mode's buttons become bigger than the normal ones when switching to theater you should notice it right away if so. I think this was a site-wide change that happened a little bit before the this entire new UI change. One day I woke up and my theater mode buttons were almost double the size of the normal view mode buttons.
Are you sure yours aren't becoming bigger with or without your plugin enabled? Mine does no matter what plugins I install. Only way I could fix those big buttons was with that uBlock filter I mentioned previously. And thankfully it is working for your plugin as well so I have the old 2024 icons and regular sized icons in theater mode now too when using this ublock filter + your script. Appreciate the reply.
Also I just got home, apologies I'm a bit tired... My uBlock (REGULAR VERSION NON-LITE) version is 1.67 and sorry I again I didn't mention this before but I'm using Firefox-based Zen Browser currently.
One last thing I noticed tonight also maybe you could look into is that when using the middle mouse button to open a video in a newtab to watch for later, once I click on one of these tabs after a good 10-20 seconds it seems like the script doesn't seem to load for some reason and I have to refresh those tabs and then it changes right back and seems to start working. Maybe if there's a setting for Firefox perhaps for loading javascript or something idk. I tried setting "browser.tabs.unloadOnLowMemory" to false but that didn't fix it.
Other then that main issue I think for now this script is amazing even the mini player is restored!! Thanks so much for this script man! You even got the seekbar heatmaps back to 2024. I hate the new seekbar heatmaps they look awful for some reason imo.
Awesome idk what happened but I think it fixed itself or you've updated the script cuz now opening youtube tabs in the foreground seems like the old UI is loading now for some reason before I had to click on the video and let it load for the UI to change no clue why.
Okay so adjusting this line of code and changing the value to 50 instead of 300 working for me to fix the background tabs opened not loading the script. I would need to refresh the page and see the script load now it seems to be a bit faster as well to load in general but maybe that's just in my head lol.
Line 2357:
setTimeout(scanAndInjectAll, 300);
Change that to 50 and it seems to be working better now for me at least! :D
Yeah okay apologies it seemed to be working but now it doesn't work so maybe it was just a fluke not sure what happened there but oh well. I tried lol.
Apologies again but I do believe it just has something to do with ublock overriding whenever you load a foreground tab for some reason cuz know it seems today they've updated all of their filters and now they load just fine in the background. Ah well maybe it fixed itself now hopefully haha. No big deal either way just a quick refresh fixes it anyways. Probably not this script then...
Great script!! Just one feature I would love to see would be concerning the bottom player buttons becoming bigger only in theater mode. The only way I know of to fix that is using this uBlock filter, but when I use this filter it reverts back to the Newer 2025 UI which is saddening. I was wondering why none of these icons were switching back to the old 2024 icons when using these kind of "Old UI" restore scripts. So far I think I like this one the best though! Hoping you could figure a way to add a toggle for these "Big player buttons in Theater mode".
This is the uBlock filter I use:
! Sep 8, 2025 https://www.youtube.com FIXES BIG UI IN PLAYER WHEN SET TO THEATER MODE
www.youtube.com##+js(rc, ytp-big-mode, , stay)