Accessibility

No smooth scroll 2

4.2
17
1245
17

(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.

No smooth scroll 2
Related posts
Accessibility

Stylus (beta)

Accessibility

PocketOption BOT

Accessibility

Multi Layout Manager

Accessibility

VeilDuck

17 Comments

Comments are closed.