当前位置: 代码迷 >> 综合 >> 钉钉一用虚拟定位就提示非官方软件
  详细解决方案

钉钉一用虚拟定位就提示非官方软件

热度:16   发布时间:2023-09-08 12:31:02.0
钉钉一用虚拟定位就提示非官方软件
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>交时自动复制到剪贴板</title>
</head>

<script language="JavaScript">
/*功能:提交时自动复制到剪贴板 */

function copyText(obj) {
ie = (document.all)? true:false
if (ie){
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);
}
}

function autocopy() {
 if (this.document.formname.isautocopy.checked) { 
 copyText(this.document.formname.icontent);
 }
}
</script>

<body>
<form action=""  method="post" name="formname" onsubmit="autocopy();">
<textarea name="icontent" rows="4" cols="50"></textarea><br>
<input name="isautocopy" checked="checked" value="1" type="checkbox" />
提交时复制内容到剪贴板<br/><input type="submit" value="提交" /> </form>

</body>
</html>

钉钉一用虚拟定位就提示非官方软件
  相关解决方案