Stop smooth scrolling that websites try to simulate by JavaScript.
Use addEventListener()
with useCapture
flag, then preventDefault()
to avoid from the initialization of smooth scrolling. This should be working to block almost all cases, but you can add into allowlist if it does not work.
The BSD 3-Clause License. Please read LICENSE file.