如何禁用ANDROID的复制和过去文本功能以及在Phonegap应用程序中长按屏幕后出现的IOS

use*_*202 4 android ios cordova

在此输入图像描述电话差距问题 -

如何禁用ANDROID的默认文本复制粘贴功能以及在Phonegap应用程序中长按屏幕后出现的IOS.

我提到了如何在jQuery Mobile(iOS)中禁用Anchor的默认行为,但这不是可行的解决方案.我想要config.xml文件中的代码.

谢谢.

Nar*_*mar 6

**Use below code:**
<style type="text/css">
*:not(input):not(textarea) {
  -webkit-user-select: none; /* disable selection/Copy of UIWebView */
  -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}       
</style>

**If you want Disable only anchor button tag use this.**
a {-webkit-user-select: none; /* disable selection/Copy of UIWebView */
   -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
 }
Run Code Online (Sandbox Code Playgroud)