Post 1632931 by zkat@toot.cat
 (DIR) More posts by zkat@toot.cat
 (DIR) Post #1632779 by sir@cmpwn.com
       2018-12-01T14:53:27Z
       
       1 likes, 4 repeats
       
       Don't use JavaScript to mess with scrolling pleaseActually, don't use JavaScript please
       
 (DIR) Post #1632848 by slightlyflightyone@vulpine.club
       2018-12-01T14:56:06Z
       
       0 likes, 0 repeats
       
       @sir Posted on a platform that runs on JavaScript. 😂
       
 (DIR) Post #1632913 by sir@cmpwn.com
       2018-12-01T15:00:04Z
       
       0 likes, 0 repeats
       
       @slightlyflightyone under duress!
       
 (DIR) Post #1632931 by zkat@toot.cat
       2018-12-01T15:00:11Z
       
       0 likes, 0 repeats
       
       @sir i like js tho
       
 (DIR) Post #1632947 by slightlyflightyone@vulpine.club
       2018-12-01T15:00:34Z
       
       0 likes, 0 repeats
       
       @sir I agree completely with your sentiment. I just couldn’t help making the joke. Cx
       
 (DIR) Post #1632982 by sir@cmpwn.com
       2018-12-01T15:03:09Z
       
       0 likes, 0 repeats
       
       @zkat okay but you can't run it on my computer
       
 (DIR) Post #1633381 by ben@mastodon.lubar.me
       2018-12-01T15:22:51Z
       
       0 likes, 2 repeats
       
       @sir I think Ben Zweig misread your post.https://ikeadrift.com/jankyscroll/
       
 (DIR) Post #1634820 by spoken@mastodon.xyz
       2018-12-01T16:45:56Z
       
       0 likes, 0 repeats
       
       @sir does webGL count?
       
 (DIR) Post #1635139 by alcinnz@floss.social
       2018-12-01T17:01:29Z
       
       0 likes, 0 repeats
       
       @sir And if just have to handle the scroll event, please at least tell browsers that you are not going to mess with it. Because scrolling should be performant!You can do that by passing {passive: true} to the final argument of addEventListener.
       
 (DIR) Post #1635821 by kura@niu.moe
       2018-12-01T17:27:58Z
       
       0 likes, 0 repeats
       
       @sir js per se isn't bad. As long as you don't make it required. Or fiddling with common default behavior
       
 (DIR) Post #1635947 by eishiya@mastodon.art
       2018-12-01T17:33:55Z
       
       0 likes, 0 repeats
       
       @sir I love JS and the dynamic online tools (like Mastodon's web UI!) it can be used to create, but gotdamn do I wish people would stop using it to "improve" (or deliver, for that matter) static content and mess with browser functionality.
       
 (DIR) Post #1644635 by minus@cmpwn.com
       2018-12-01T23:54:28Z
       
       0 likes, 0 repeats
       
       @sir I turn off smooth scrolling in the browser for a reason, don't try to fucking force it on me. <inesrt a multitude of swear words here>
       
 (DIR) Post #1644653 by paradroyd@mastodon.sdf.org
       2018-12-01T23:55:12Z
       
       0 likes, 0 repeats
       
       @sir One of the best things about Javascript is that you can usually easily disable it, per site.