Disable this super slow ‘smooth’ scroll of some supposedly modern websites


It can be so slow, excruciating, tormenting, I can’t believe that some web sites have chosen to impose this supposedly modern “smooth” scroll, trying to make an impression and win visitors or customers. At least they could have offered it as an option, but no, you have to follow the trend!

Fortunately “smooth” scroll is something we can fight easily. You need just a browser extension such as Tampermonkey for Chrome, or Greasemonkey for Firefox. Here is a script you can copy and paste in the relevant text-box of your extension to fight the incredibly slow “smooth” scroll. You can use the script permanently, or enable it only on particular sites.

Note that you can use these extensions for other scripts too, scripts that change page colors, prevent other annoying scripts to run, etc. This type of browser extensions let you use scripts that influence the way a web page is displayed and works.

[sociallocker message=”Share, and keep reading!”]

// ==UserScript==
// @name DisableSmoothScroll
'use strict';
document.getElementsByTagName("body")[0].addEventListener("wheel",function (event)
{
// exception for ACE Editor, JS text editor used by sites like GitHub
if (event.target.classList.contains('ace_content')) {
return;
}
event.stopPropagation();
}, true);