android WebView html网页设置长按的时候不出现复制粘贴
16lz
2021-01-26
//直接在HTML Style里面加入以下代码即可,适应绝大多数浏览器,安卓WebView反正是肯定没问题,如果需要其他的浏览器加在*号里面<style type="text/css"> *{ -webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none; } input,textarea { -webkit-user-select:auto; margin: 0px; padding: 0px; outline: none; }style>
更多相关文章
- Android(安卓)Ant打包打入第三方包报错解决方案
- Android:控件WebView显示网页
- 如何获得系统权限--解决no conscrypt_openjdk_jni in java.libra
- android中检测网络是否断开
- Android(安卓)背景虚化实现
- 如何卸载Eclipse中ArcGIS for Android的旧版本?
- Android(安卓)内置浏览器之webview
- 设置Android默认壁纸为动态壁纸
- android浏览本地html