网页屏蔽F12审查元素代码
<!--屏蔽F12审查元素-->
<script type="text/javascript">
document.onmousedown = function mdClick(event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e.button == 2 || e.button == 3) {
mAlert();
}
}
document.oncontextmenu = new Function("return false;");
document.onkeydown = document.onkeyup = document.onkeypress = function(event) {
var e = event || window.event || arguments.callee.caller.arguments[0];
if (e && e.keyCode == 123) {
mAlert();
e.returnValue = false;
return (false);
}
}
function mAlert() {
alert("如需接口或源码购买请联系QQ717634!!!");
}
</script>
复制到需要屏蔽的页面
作者:坏坏的小千
版权声明:文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
海报
网页屏蔽F12审查元素代码
<!--屏蔽F12审查元素-->
<script type="text/javascript">
document.onmousedown = function mdClick(event) {
var e = event || wind……

文章目录
关闭
共有 0 条评论