js页面保护代码
// 禁止右键菜单 document.oncontextmenu = function() { return false } // 禁止选择 document.onselectstart = function() { return false } // 禁止拷贝 IE、Chrome document.onbeforecopy = function() { return false } // 禁止选择 document.onmouseup = function() { return false } // 禁止拷贝 document.oncopy = function() { return false } // 禁止选择 document.onselect = function() { return false }
非特殊说明,本文版权归原作者所有,转载请注明出处
评论列表
发表评论