New YouTube Obnoxious Bar Fix

Works as of 17-Oct-2021, prevents the search bar from following as you scroll down the page

当前为 2021-10-18 提交的版本,查看 最新版本

作者
FRex
评分
0 0 0
版本
0.0.11
创建于
2017-09-15
更新于
2021-10-18
大小
2.0 KB
许可证
暂无
适用于

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. I've also seen it not work at times, very rarely, but can't track it down. Let me know if you run into a case where it didn't work and reloading the page didn't fix it.

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

This script works with new layout introduced mid year 2017, unlike the old one: https://gf.qytechs.cn/en/scripts/8974-youtube-obnoxious-bar-fix

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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址