New YouTube Obnoxious Bar Fix

Works as of October 2021, prevents the search bar from following as you scroll down the page

Author
FRex
Daily installs
1
Total installs
551
Ratings
2 0 0
Version
0.0.15
Created
2017-09-15
Updated
2021-10-18
License
N/A
Applies to

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();).