btown 6 months ago

My hypothesis on this is that marketers who have personal MacBooks but are forced to use Windows computers at work, with mice with notched scroll wheels, find JS-driven smooth scrolling to be superior to the native snapping experience they see at work on many websites. But it wreaks havoc on people who already have computers with native high-resolution trackpads. Alas, the folks at big companies care more about their at-work than at-home experience, and it's been cargo-culted to smaller companies now as well. The conversation "detect if there is indeed a trackpad being used" never even comes up.

ndriscoll 6 months ago

Maybe the industry should develop a secret header we can all have our browser send to disable this sort of thing. Like `X-Shibboleet: true`.

  • jeroenhd 6 months ago

    A uBlock rule for smooth scrolling libraries can do wonders, though on some pages that breaks all JS scripts because of brittle JS assuming certain objects are magically instantiated.

dmix 6 months ago

What is it? Smooth scrolling?

  • bangaladore 6 months ago

    From the html:

    // SmoothScroll for websites v1.2.1

    • hombre_fatal 6 months ago

      You'd think the library would first check for macOS/iOS which already has far superior smooth scrolling.

    • braiamp 6 months ago

      And this is why NoScript is a required extension. Matrix if you use Chromium based browsers.