To enhance YouTube performance by modifying YouTube JS Engine
< Feedback on YouTube JS Engine Tamer
Can you please try to disable all other user scripts and extensions first? It seems like the conflict because I do not receive any other similar bug report.
You might also try to use YouTube Super Fast Chat and/or YouTube Boost Chat to see whether such issue can be gone.
I have retested with Google Chrome 145 Stable, using both Tampermonkey 5.4.1 and ScriptCat 1.2.6 (not at the same time). Confound variables should be minimal as this was tested on a clean reinstall of Windows 11, in addition to all other extensions and scripts disabled. This script was still able to alone cause the problematic behavior as described originally.
Script works as expected with a minor exception. When injected into youtube's live chat iframe (default behaviour), the chat no longers overrides scrolling events correctly and would cause the entire youtube page to scroll when trying and failing to scroll past the end/beginning of chat.
(tested on version 0.42.1 on July 6th)