Chrome浏览器丑消息时自动填写无效 [英] Chrome ugly message when autofill is disabled

查看:129
本文介绍了Chrome浏览器丑消息时自动填写无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Chrome的最近升级了,我已经开始看到消息此网页已停用自动填充这种形式。所有在我的网站被点击表单控件时(OK,无意中双击了),其中自动完成=关闭(我们谈论的聊天室等,其中浏览器真的不需要记住发送previous消息)。

Since Chrome recently upgraded, I've started to see the message "This web page has disabled automatic filling for this form." all over my website when form controls are clicked (OK, accidently double clicked) where autocomplete="off" (we're talking about chat rooms etc where the browser really doesn't need to remember previous messages sent).

这是pretty丑陋的,没有任何人知道如何禁用此?我不能在网上找到很多信息,不是事情可以追溯到2010年只是说,这是一个功能等。问题是,这只是刚刚开始发生的事情对我来说是最新版本,同样为运行Chrome另一台计算机。

It's pretty ugly, does anybody know how to disable this? I can't find much information on the web, other than things dating back to 2010 just saying that this is a feature. The thing is, it's only just started happening for me on the latest version, same for another computer running Chrome.

任何想法?

干杯

推荐答案

只是偶然发现了同样的问题,找到了一个简单的修复。

Just stumbled upon the same problem and found a simple fix.

您必须添加自动完成直接归因于输入字段不是整个表格。

You have to add the autocomplete attribute directly to the input field NOT to the whole form.

这code工作:

<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">

这篇关于Chrome浏览器丑消息时自动填写无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆