<
script type
=
"
text/javascript
"
>
document.oncontextmenu = function (){ return false };
document.ondragstart = function (){ return false };
document.onselectstart = function (){ return false };
document.onselect = function (){document.selection.empty();};
document.oncopy = function (){document.selection.empty();};
document.onbeforecopy = function (){ return false };
document.onmouseup = function (){document.selection.empty();};
< / script>
document.oncontextmenu = function (){ return false };
document.ondragstart = function (){ return false };
document.onselectstart = function (){ return false };
document.onselect = function (){document.selection.empty();};
document.oncopy = function (){document.selection.empty();};
document.onbeforecopy = function (){ return false };
document.onmouseup = function (){document.selection.empty();};
< / script>
本文转自齐师傅博客园博客,原文链接:http://www.cnblogs.com/youring2/archive/2009/07/27/1531988.html,如需转载请自行联系原作者