Chome自动填充:它可以使用的字段数有限制吗? [英] Chome autofill: Is there a limit to the number of fields for it to work?

查看:74
本文介绍了Chome自动填充:它可以使用的字段数有限制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两种使用Ajax提交的表单,因此我使用iframe hack进行自动填充工作( https://stackoverflow. com/a/29885896/1964031 ).它仅以其中一种形式起作用,唯一的区别似乎是投入量.一个大约有20个,而另一个大约有100个.

I have two forms that are submitted using Ajax, so I used the iframe hack to make autofill work (https://stackoverflow.com/a/29885896/1964031). Only in one of those forms it works and the only difference seems to be the amount of inputs. One has around 20, while the other has ~100.

实际上,我打开了无法使用的表单,删除了很多字段,然后再次尝试.奏效了.

In fact, I opened the form that isn't working, removed a lot of it's fields and tried again. It worked.

Chrome的自动填充功能是否在某些字段中停止工作?

Is there a certain amount of fields for which chrome's autofill stops working?

推荐答案

每个网页最多可以存储1k自动填充数据.我认为这与字段数无关.重要的是自动填充的总数据.

There is a maximum of 1k per web page of auto filled data that can be stored. I think it's independent of the number of fields. It's the total autofill data that matters.

查看镶边代码

显示设置为1024个字符的常数(kMaxDataLength).

Shows the constant (kMaxDataLength) set to 1024 characters.

这篇关于Chome自动填充:它可以使用的字段数有限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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