Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Browsing with NoScript in default deny JS mode, I just had to turn of style sheets to be able to read the whole article, unimpeded by any scroll hijacking.


NoScript definitely improves most sites, but scroll can be hijacked with CSS alone: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-beha...

Firefox users can set "layout.css.scroll-behavior.enabled = false" in about:config and never have to worry about this nonsense again.


Did you read the article you link to? It says that it only applies to CSSOM (JavaScript) and navigation (presumably clicking links). Not scrolling by the user.


Whoops, sorry I guess my understanding of the setting was incorrect. I remember troubleshooting this a while back and I thought this is what resolved the issue I was having.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: