Seriously, browsers? That's how autocomplete is supposed to work
-
@asdf "Careful, it's very sensitive."
-
@fbmac said in Seriously, browsers? That's how autocomplete is supposed to work:
@Onyx our network supposedly blocks a new mac address it doesn't know
No Upside-Down-Ternet? Pssh.
-
@Zecc said in Seriously, browsers? That's how autocomplete is supposed to work:
No Upside-Down-Ternet? Pssh.
The Internet is surprisingly useful in that mode, actually. Though https sites get through OK... ;)
-
@Lorne-Kates said in Seriously, browsers? That's how autocomplete is supposed to work:
First, easy stuff:
@Kuro said in Seriously, browsers? That's how autocomplete is supposed to work:
INB4 people telling how it's morally wrong to disable autocomplete and how I am the bad one here
It is morally wrong to disable autocomplete and any dev that does that is a shitburger
@blakeyrat said in Seriously, browsers? That's how autocomplete is supposed to work:
Am I crazy, or is Mozilla?
Yes.
Okay, onto reply:
The only way to disable autocomplete completely is to use random-generated IDs and names on your form elements. But then you're bending over backwards to break a piece of functionality that your users want. And then you're a shitburger.
Or you could break the form in new and interesting ways, like poorly implementing a "placeholder" value inside the input element and using janky javascript to remove it onfocus. That always breaks shit, and makes you a shitburger for not knowing what a
<label>
is.I love you <3
-
@Lorne-Kates said in Seriously, browsers? That's how autocomplete is supposed to work:
Or you could break the form in new and interesting ways, like poorly implementing a "placeholder" value inside the input element and using janky javascript to remove it onfocus. That always breaks shit, and makes you a shitburger for not knowing what a <label> is.
Got it--instead, use a background image on the input with the placeholder text, and remove said image if an onblur event handler.
-
@FrostCat said in Seriously, browsers? That's how autocomplete is supposed to work:
@Lorne-Kates said in Seriously, browsers? That's how autocomplete is supposed to work:
Or you could break the form in new and interesting ways, like poorly implementing a "placeholder" value inside the input element and using janky javascript to remove it onfocus. That always breaks shit, and makes you a shitburger for not knowing what a <label> is.
Got it--instead, use a background image on the input with the placeholder text, and remove said image if an onblur event handler.
I mean, it's better than the alternative he proposed.
Not by much.
But it is better...