Live data from Hacker News

Safari tries to fill username

github.com

1–10 of 393 posts

Re: Safari tries to fill username

#5
Too much magic if you ask me.

There are often two ways you can do something. In this case:

- Explicit clean markup and a deterministic GUI or

- Tons of heuristics and a magic GUI that works great most of the time but fails in ways that are hard to understand.

I feel you get this tradeoff a lot in "clever" systems. Whether it is just finding the main text on a page, blocking ads, doing search, or even self-driving cars: I often prefer the "pedestrian" approach over the "magic" approach. Even if it is a bit less powerful, it is also less surprizing.

Re: Safari tries to fill username

#8

Just another day in web development with Safari, I'm not even surprised anymore. I've encountered so many of those "total nonsense" moments.

Such as?

Like SVG background issues https://stackoverflow.com/questions/40986798/repeated-svg-ba...

clicking issues https://stackoverflow.com/questions/24077725/mobile-safari-s... (yeah even clicks are broken)

background jank https://stackoverflow.com/questions/9983520/webkit-animation... (not sure it's exactly this bug but I do have fixes in the codebase for that)

round corners https://stackoverflow.com/questions/50995411/cant-set-border... (still happening right now)

And countless other JS and CSS bugs I forgot I have in the codebase. There's scrolling bugs, navigation bugs, layout bugs, form bugs... I'm sorry to say but nothing really "fully works" it's always slightly off one way or another.

Re: Safari tries to fill username

#9

Too much magic if you ask me. There are often two ways you can do something. In this case: - Explicit clean markup and a deterministic GUI or - Tons of heuristics and a magic GUI that works great most of the time but fails in ways that are hard to understand. I feel you get this tradeoff a lot in "clever" systems. Whether it is just finding the main text on a page, blocking ads, doing search, or even self-driving car…

In my opinion Safari is way too aggressive with filling usernames and passwords. Anything in any way similarly named like these it forces an autofill. And of course it overrides autocomplete="off". We definitely need an attribute that implies, "I actually know what I'm doing Safari! Please really don't autofill this."
Post reply on HN