(Not my code)
codepen.io/beben-koben/pen/eYPNew
You might be able to use this idea and set the animation to 0 seconds.
Dissemination
I have ff and ublock on windows and every now and then YouTube videos have issues like stopping playing and not recovering (where an ad would play).
Only fix is to hard refresh the page.
Just yesterday I wanted to disable sound devices. The button in the settings app even says „turn devices on/off“, but once inside the menu, there is no option to enable or disable sound devices.
Had to use the control panel again.