由於Chrome最近已升級,因此我開始看到消息「此網頁已禁用此表單的自動填充功能」。當點擊表格控件(OK,意外雙擊)時,在我的網站全部自動完成=「關閉」(我們正在討論聊天室等瀏覽器真的不需要記住先前發送的消息)的地方。自動填充功能被禁用時出現Chrome醜陋消息
這是相當醜陋的,有人知道如何禁用此?我無法在網上找到很多信息,除了可以追溯到2010年的東西,只是說這是一個功能。事情是,它只是剛剛在最新版本上發生,與運行Chrome的另一臺計算機相同。
任何想法?
乾杯
由於Chrome最近已升級,因此我開始看到消息「此網頁已禁用此表單的自動填充功能」。當點擊表格控件(OK,意外雙擊)時,在我的網站全部自動完成=「關閉」(我們正在討論聊天室等瀏覽器真的不需要記住先前發送的消息)的地方。自動填充功能被禁用時出現Chrome醜陋消息
這是相當醜陋的,有人知道如何禁用此?我無法在網上找到很多信息,除了可以追溯到2010年的東西,只是說這是一個功能。事情是,它只是剛剛在最新版本上發生,與運行Chrome的另一臺計算機相同。
任何想法?
乾杯
只是偶然發現了同樣的問題,發現一個簡單的修復。
您必須將autocomplete屬性直接添加到輸入字段而不是整個表單。
此代碼:
<form method="get" action="index.php">
<input type="text" name="q" autocomplete="off">
這樣就不會
<form method="get" action="index.php" autocomplete="off">
<input type="text" name="q">
It Works for me :)
Guys you just need to add this code under the form tag, please check below:
<form>
<!-- fake fields are a workaround for chrome autofill getting the wrong fields-->
\t \t \t \t <input type="text" name="fakeusernameremembered" style="display: none;" />
\t \t \t \t <input type="password" name="fakepasswordremembered" style="display: none;" />
\t \t \t <!--It helps me to remove the autofill in Chrome-->
..........
</form>
只注意到這個問題,今天以及... – jordanstephens