Fix YouTube

Fix YouTube feed bug and the hitboxes of the buttons

作者
KaIakaua
今日安裝
0
安裝總數
12
評價
0 0 0
版本
2.5
建立日期
2024-10-22
更新日期
2024-10-22
尺寸
3.2 KB
授權條款
MIT
腳本執行於

Made this script back when the missing video bug on home feed started appearing couple years ago, it removes the empty space that is left where there should be a video.

Time after I figured out I could also fix the hitbox on the videoplayer caused by the ::before and ::after things that are in the DOM. They serve no purpose and just disrupt the hitbox of the buttons so I removed them as well.


THIS CODE WAS MADE WITH THE ASSUMPTION THAT YOUR FEED WOULD SHOW ROWS OF 6 VIDEOS EACH, IF YOUR FEED IS SHOWING A DIFFERENT NUMBER OF VIDEOS PLEASE LOWER YOUR PAGE ZOOM UNTIL IT SHOWS THE CORRECT NUMBER.