News for hackers. Stuff that matters.
Re:The Ideal Viewport Doesn't Exist by eternityforest on Monday August 21, 2023 @01:59PM (#37213082)
There's one thing I absolutely will disable and that is the MFing pull to refresh. I hate that feature more than pretty much anything else about the Internet.

Users can't, for some hideous reasons that should be illegal due to accessibility concerns, disable it, and it is an excellent way to accidentally throw away your work several times a month if you don't have very steady hands, depending on if the back button decides to not restore.

Re:The Ideal Viewport Doesn't Exist by depressedpanda on Monday August 21, 2023 @07:13PM (#37216594)
If a website allows you to throw away a lot of work by accidentally refreshing the page, it's poorly written. There are multiple ways to deal with this: a warning, a confirmation prompt, storing data in sessionStorage, etc.
Re:The Ideal Viewport Doesn't Exist by eternityforest on Tuesday August 22, 2023 @02:40AM (#37219442)
None of which HN appears to do... ideally you're right, it shouldn't be possible, but disabling pull to refresh helps a lot on a crappy legacy site.

Plus it's also just plain annoying. If a site has no well defined concept of pages, you'll probably be in a whole different dynamically generated page. Not that I think sites like that are all that great to begin with...