3 ms·
> In Chrome and Firefox, you can thwart attempts to auto fill by setting the input type equal to “search” and autocomplete to “off”. No, you can't. Chrome has
by dmitriid 6y ago
> In Chrome and Firefox, you can thwart attempts to auto fill by setting the input type equal to “search” and autocomplete to “off”.
No, you can't. Chrome has disregarded this since at least 2014 [1]. They collected use cases for this in 2016 [2] but did nothing about it [3]
Oh, wait. The author actually writes this further down on the page (emphasis mine): "Up until version 7, Safari used to respect the value of the autocomplete attribute, so setting it to “off” would work. Most modern browsers now choose to ignore the value of autocomplete, so this solution no longer works."
But yeah. Safari's the bad guy.
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=370363 https://bugs.chromium.org/p/chromium/issues/detail?id=370363
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=587466 https://bugs.chromium.org/p/chromium/issues/detail?id=587466
[3] https://bugs.chromium.org/p/chromium/issues/detail?id=914451 https://bugs.chromium.org/p/chromium/issues/detail?id=914451
- deleted 6y ago[deleted]
- Razengan 6y agoOh no, you tried to defend something Apple with facts, on HN. Quick, have a downvote before others can see the truth.
- dang 6y agoWould you please stop posting unsubstantive comments, and comments that break the site guidelines, to Hacker News? You've done it a lot and we've asked you repeatedly to stop. When accounts keep doing this we eventually ban them. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html The kind of bias you're complaining about is in the eye of the beholder. People who feel the opposite way about Apple or any $BigCo see exactly the opposite and make identical complaints, just going the other way. It's sample bias. https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sort=byDate&type=comment&query=notice%20dislike%20by:dang https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
- Razengan 6y agoOh piss off Daniel. If HN let us delete our own accounts I would have done it a year ago. I've asked you repeatedly to do something about the downvote abuse but you continue to act like nothing's wrong. I have no respect left for this community or the people who run it, nor do I see value in participation anymore. HN likes to masquerade as some sort of upscale establishment, high and above the petty squabbles of Eslewhere, but in the end this place too devolves into a predictable echo chamber just like the rest of them, when it comes to any topic on which people have varied opinions. This did not happen overnight; for more than a year I have been watching perfectly fine comments getting buried almost instantly. Why give a fuck about what you write if you're going to be downvoted anyway? You are well aware that downvotes can be and are abused to prevent facts from being seen. Like what even was in the GP's comment to make it so gray? (at the time I posted mine) HN is broken, and one of the major indicators of a broken service is a tone-deaf management who continues to insist that everything is Working As Intended.