(Note: The screenshot contains the full source code for this extension)
You’ve spent 5 years of your life writing a complex piece of medical imaging software that makes extensive use of the middle mouse button. Suddenly, with only 6 months advance warning (that you ignored), the ‘Smooth scrolling’ setting in ‘chrome://flags’ was deactivated and no longer does anything. At about this time the old “No smooth scroll” extension stopped working as well.
Bug reports pile up in the tracker… The phone starts to ring… Your medical image viewer is randomly scrolling around and the radiologists are using profanity to describe the usefulness of the software, clearly not in a good way 🙂
Much as you try, you can’t palm this problem off to some other developer like you normally would… The suited men and women in the board room are starting to mumble and take quick frowny face glances in your direction.
You need that middle mouse button to work. Right NOW.
So you add a couple extra lines of code to a generic mouse down event listener and get back to playing minecraft over the network with some guys from the marketing department.
Is that the end of the problem? No. No it isn’t.
You like using middle click to open random reddit links, stuff on facebook, youtube videos, but that smooth auto scroll thingy is still popping up and annoying you.
So you decide to write your own extension. How hard could it be?
Well, here it is. “No smooth scroll 2”
This is functionally the same as the “No smooth scroll” extension in the store, I wrote this one because the other had stopped working for a short time. I wasn’t sure if it was going to be fixed (turns out it was after a few weeks 🙂
If you have any issues, feel free to get in touch. [email protected]
Please note that extensions are not permitted to function on the chrome webstore itself, you’ll need to open a new tab and visit some other website for testing.
Thank you very much! This is one of the most useful extensions in the store, seriously. ^_^
Why doesn’t Chrome come with this option??? Love it!
Расширение работает.
Works great. This was a maddening problem. Thank you for your effort to address it. Also, really appreciate the note about how to test (noting that the Chome webstore doesn’t support Extensions.)
It just works.
Thank you very much! This useless “feature” is one of the most irritating things that I’ve ever seen in web-browsers, especially with no native way to disable it.
Очень полезное расширение. 👍
Не работает
У меня не работает! DONT WORK
Doesn’t work with Chrome 84.0.4147.89 on Windows 10.
Thank for bringing some UX sanity to the most used browser. Toggle actions are a UX-Anti pattern.
does not seem to work
Thank you!
Many hours have been wasted accidentally scrolling around pages randomly. This works completely as advertised. Installed. Relaunched. Voila. This incredibly stupid auto-scrolling feature is disabled.
Now I can open up links in new tabs like crazy. My web surfing just became that much more efficient.
Super!
Simplicity at it’s best to give us the needed functionality we deserve! Thank you!
For the touching story alone, I give it five stars and install on every PC I own. Great stuff and thank you very much, Brendan!
It works. Great description, too. (I’m constantly amazed that a company as big and popular as Google can completely screw up the most basic UI/UX decisions — then completely ignore the complaints for years on end.)