News for hackers. Stuff that matters.
Re:Optimize your Node app by upgrading Node.js by twiss on Thursday March 30, 2017 @11:24AM (#13996161)
In this case, it can be fixed by running this in the developer tools:

    getEventListeners(window).wheel[0].remove()
Re:Optimize your Node app by upgrading Node.js by Orangeair on Thursday March 30, 2017 @12:05PM (#13996567)
That did it for me, thanks. Seriously, who overrides default scrolling behavior?
Re:Optimize your Node app by upgrading Node.js by dawnerd on Thursday March 30, 2017 @01:53PM (#13997446)
People that develop on windows and want that smooth mac style scrolling - at least from my experience. Also LOTS of free and paid wordpress themes use it as a selling point.
Re:Optimize your Node app by upgrading Node.js by nol13 on Thursday March 30, 2017 @02:36PM (#13997808)
so, so bad..
Re:Optimize your Node app by upgrading Node.js by tedunangst on Thursday March 30, 2017 @02:38PM (#13997816)
Alas, this isn't possible on iPhone, where most of the table is offscreen and unviewable. So not annoyingly "unreadable", but literally (literally) unreadable.
Re:Optimize your Node app by upgrading Node.js by faitswulff on Thursday March 30, 2017 @11:50AM (#13996409)
Hm, this isn't working for me. I've been searching for a way to undo scrolljacking for a while, so I'm curious how to get it to work. What browser are you using?

I tried in Chrome (56.0.2924.87) and Firefox (forgot what version and now it's updating). Firefox doesn't even respond to `getEventListeners` and in Chrome I'm seeing `.scroll` instead of `.wheel`.

Re:Optimize your Node app by upgrading Node.js by twiss on Thursday March 30, 2017 @11:56AM (#13996476)
It works for me in Chrome 56 and 57 on Linux. In Firefox, the scroll isn't hijacked (presumably chosen because Firefox has had smooth scrolling longer?), but in Firefox 52 (but not 54) this still improves scroll performance a whole lot:

    window.addEventListener('scroll', function(evt) { evt.stopImmediatePropagation(); }, true)
Re:Optimize your Node app by upgrading Node.js by josteink on Thursday March 30, 2017 @03:27PM (#13998183)
Wow yeah. That's noticable to the point that it's almost extension-worthy.

Any idea how much potential that snippet has for causing issues if applied generally across the board?

Re:Optimize your Node app by upgrading Node.js by Flow on Thursday March 30, 2017 @12:14PM (#13996651)
I've not tried this plugin, but it might do just what you want.

https://chrome.google.com/webstore/detail/disable-scroll-jac...

Re:Optimize your Node app by upgrading Node.js by romuloab42 on Thursday March 30, 2017 @01:11PM (#13997125)
It disables scroll but enables GoogleAnalytics tracking: https://github.com/joshbalfour/disable-scroll-jacking/blob/m...
Re:Optimize your Node app by upgrading Node.js by _ao789 on Thursday March 30, 2017 @01:52PM (#13997444)
I loled at this one.