JS 禁用右鍵、F5刷新、文本選中、複製、剪切、粘貼操做

一、新建 util.js 文件:javascript Util.js //禁止右鍵 function click(e) { if(document.all) { if(event.button == 1 || event.button == 2 || event.button == 3) { oncontextmenu = 'return false'; } } if(do
相關文章
相關標籤/搜索