<script type="text/javascript">
//屏蔽右键菜单
document.oncontextmenu = function (event){
    if(window.event){
        event = window.event;
    }try{
        var the = event.srcElement;
        if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")){
            return false;
        }
        return true;
    }catch (e){
        return false; 
    } 
}
</script>

相关文章:

  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2022-01-25
猜你喜欢
  • 2021-11-17
  • 2022-02-15
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
  • 2021-09-12
  • 2021-06-09
相关资源
相似解决方案