当前位置:
代码迷
>>
综合
>> 钉钉打卡虚拟位置被发现
详细解决方案
钉钉打卡虚拟位置被发现
热度:
12
发布时间:
2023-09-07 23:53:12.0
钉钉打卡虚拟位置被发现
<html> <body> <script> //建一个row行,col列的表格 var tbl, tbody, tr, td, text, i,j,row,col; row=10;col=15; var theDoc = document; var theBody = theDoc.body; tbl = theDoc.createElement("TABLE"); tbl.border = "1"; tbl.setAttribute("id","abc"); tbody = theDoc.createElement("TBODY"); tbl.insertBefore(tbody, null); theBody.insertBefore(tbl, null); for (i=0; i<row; i++) { tr = theDoc.createElement("TR"); for (j=0;j<col;j++) { td = theDoc.createElement("TD"); text = theDoc.createTextNode("Text"); tbody.insertBefore(tr, null); tr.insertBefore(td, null); td.insertBefore(text, null); } } var a="aaa"; var b="bbb"; document.getElementById("abc").attachEvent("onclick",function(){alert(a);alert(b)}); </script> </body> </html>
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
钉钉打卡虚拟位置被发现
相关解决方案