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