【发布时间】:2019-02-19 10:19:06
【问题描述】:
我正在尝试禁止在 Cordova 应用程序中复制密码,即使您按“显示密码”也是如此。我找不到解决方案。这是我到目前为止所尝试的。
.password {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
我已经在三星 S9 上测试了我的应用。
【问题讨论】:
-
您是否将密码类应用于您的密码输入?