HTML禁止使用右键

<html>
    <script type="text/javascript"> 
        <!-- 
        document.oncontextmenu=function(e){return false;} 
        //--> 
    </script> 
    <style> 
        body { 
        -moz-user-select:none; 
        } 
    </style> 
    <body> 
        Web page contents are here.
    </body>
</html>

 

posted @ 2015-07-28 15:13  雪卜  阅读(361)  评论(0编辑  收藏  举报