New YouTube Obnoxious Bar Fix

Works as of August 2024, prevents the search bar from following as you scroll down the page

作者
FRex
日安装量
0
总安装量
608
评分
2 0 0
版本
0.0.16
创建于
2017-09-15
更新于
2024-08-13
许可证
暂无
适用于

NOTE: I think there is yet another YT layout redesign happening, so if you run into it, and the script doesn't work there, let me know. I'll try fix the script to work for both current and new layout then.

NOTE: last change to JS was on 17th of October 2021. I don't know if YT delivers site layout updates to users in waves at different times. If the script update made it not work for you anymore and it doesn't start working in a few days - please let me know.

The search/account/upload bar at the top of YouTube that follows you as you scroll down the page can get really annoying on small screens or if you want to get a large player or read many comments at once. This simple script changes few style properties to fix that and make the bar stay on top instead of following you. It also adds a small triangle icon button that you can click to skip past that header (much easier and more consistent than trying to scroll by that tiny amount with your mouse wheel).

Much earlier versions automatically clicked the button mentioned above but it was a bit inconsistent (it only does it on first video loaded) so I disabled it. If you don't mind that inconsistency then you can re-enable it: go to the installed script code and find this line: //downbut.click(); and uncomment it (remove the // from it, leaving just the downbut.click();).