Hacker News new | past | comments | ask | show | jobs | submit login

It would be so nice if there was a knob to disable whatever JavaScript API (or part thereof) enables this yet keep everything else.

Of course, it would have to work seamlessly without breaking anything, so it might be asking a little much.




Unfortunately, blocking that API (listening for 'wheel' events) will entirely break large portions of many sites -- any element where they've manually implemented the scrollbar or have fancy stuff or whatever won't work. I tried writing a Greasemonkey script that killed smooth scrolling, but it broke way too many sites.

One thing that does work though, at least in a lot of cases, is using an adblocker to block the URLs of common smooth scroll scripts. My adblock filter rules are in a comment in this gist if you want them (actually, this gist is my aforementioned Greasemonkey script): https://gist.github.com/oxguy3/ebd9fe692518c7f7a1e9




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: