Don't fuck with my scroll!!!

Whenever the user scrolls using the mouse wheel it will disable all methods to programmatically scroll for 500 ms (0.5 seconds). Basically preventing websites to implement custom scrolling behaviors like smooth scrolling.

Ezek a szkript azon változatai, ahol a kód módosítva lett. Minden verzió mutatása

  • v1.1 2019.05.16. Prevent calling `preventDefault()` on the wheel event. Some websites prevent the default action of the wheel event and then call their own scroll function. This fixes that issue as we prevented their scroll function, resulting in no scrolling at all. I've also added more comments.
  • v1.0 2019.04.11.