如何在 Android 中启用 Google Chrome 的“扫描新卡”选项?

2024-02-21

Google Chrome 具有扫描信用卡以在付款期间填充字段的功能,该功能适用​​于 Android Chrome(不适用于 Android 的所有版本和设备)。

我已附上屏幕截图。

It shows on other websites, but not in my website. Do we have any references to what should be the content of html dom for it to work?enter image description here


基于本文 https://cloudfour.com/thinks/autofill-what-web-devs-should-know-but-dont/#payment-fields-are-completely-wonky付款字段完全不稳定。 为了构建具有信用卡扫描功能的跨浏览器自动填充表单(如果浏览器支持),您需要:

  1. 添加自动完成属性
  2. 对输入名称属性使用通用值
  3. 添加与 Safari 正在查找的列表相匹配的名称和/或标签值
  4. 使用带有有效证书的 HTTPS

Here is 最终测试的形式 https://cloudfour.com/thinks/autofill-what-web-devs-should-know-but-dont/#the-final-form.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何在 Android 中启用 Google Chrome 的“扫描新卡”选项? 的相关文章

随机推荐