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.

นี่คือเวอร์ชันของสคริปต์นี้ที่โค้ดมีการอัปเดต แสดงเวอร์ชันทั้งหมด

  • v1.1 16-05-2019 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 11-04-2019