# New post/reply sometimes tries to autocomplete my address on Chrome

**URL:** https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484
**Category:** Support
**Created:** [1월 25, 2019, 12:54오전 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484 "2019-01-25T00:54:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [1월 25, 2019, 12:54오전 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484/1 "2019-01-25T00:54:32Z")

</div>

I’m not sure how this happened, but for the last few weeks on [https://community.wanikani.com](https://community.wanikani.com), clicking into a new post’s text area sometimes shows my address as if Chrome is trying to autocomplete it. It doesn’t happen every time, and I haven’t been able to figure out any kind of pattern for when it does happen. But it has happened well over a dozen times, including just a few minutes ago. Sorry I can’t give any more information.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 19, 2019, 11:27오후 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484/66 "2019-02-19T23:27:21Z")

</div>

There has been a lot of fear, uncertainty and doubt and confusion around this topic.

At last I have this fixed per:

[https://github.com/discourse/discourse/commit/918a0ea3a428e0e3ea4bcfb887df711bc895c0d8](https://github.com/discourse/discourse/commit/918a0ea3a428e0e3ea4bcfb887df711bc895c0d8)

I had a double repro on local (both in canary and latest chrome). I confirmed `autocomplete="random-non-off"` string fixes it.

This was an **intentional** break by Google, cause they know better ™

[https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164](https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164)

> The tricky part here is that somewhere along the journey of the web autocomplete=off become a default for many form fields, without any real thought being given as to whether or not that was good for users. This doesn’t mean there aren’t very valid cases where you don’t want the browser autofilling data (e.g. on CRM systems), but by and large, we see those as the minority cases. And as a result, we started ignoring autocomplete=off for Chrome Autofill data

So now, when we do not want autocomplete we simple set `autocomplete="discourse"`

I am not sure if we will backport this to stable or not, you will need to be on latest.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 19, 2019, 11:27오후 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484/67 "2019-02-19T23:27:31Z")

</div>



---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2월 19, 2019, 11:39오후 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484/68 "2019-02-19T23:39:20Z")

</div>

This still buries the lede a mile deep — it does not cover the other issue, which is that Chrome randomly™ decided to start auto-filling this field in the current version. Never happened with older versions.

Has nothing to do with the metadata. This field was never auto filled in the past. Then suddenly it was.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 19, 2019, 11:59오후 UTC](https://meta.discourse.org/t/new-post-reply-sometimes-tries-to-autocomplete-my-address-on-chrome/107484/69 "2019-02-19T23:59:44Z")

</div>

Yeah to be blunt Chrome are violating:

> **[4.10.19.7 Autofill - HTML Standard](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill)**
>
> Living Standard — Last Updated 1 June 2026

Which specifies in black-and-white-and-red-and-blue:

> When wearing the [autofill expectation mantle](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-expectation-mantle), the `autocomplete` attribute, if specified, must have a value that is an ordered [set of space-separated tokens](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#set-of-space-separated-tokens) consisting of either a single token that is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string " `off` ", or a single token that is an [ASCII case-insensitive](https://infra.spec.whatwg.org/#ascii-case-insensitive) match for the string " `on` ", or [autofill detail tokens](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens).

[The reasoning by Google](https://bugs.chromium.org/p/chromium/issues/detail?id=468153#c164) is that they no longer trust developers with `off` so they ignore it. This is user hostile, standards hostile, and the list goes on.

If other browsers (aka. Firefox) stumble with `autocomplete="discourse"` I will revert this so the community can take it up with Chrome.
