![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
文章平均质量分 58
IT西西
这个作者很懒,什么都没留下…
展开
-
屏蔽网页右键,兼容IE6,IE7,IE8,FireFox,谷歌Chrome浏览器
function clickIE4(){ if (event.button==2){ return false; }//end if }//end func function clickNS4(e){ if (document.layers||document.getElementById&&!document.a原创 2013-12-27 16:57:56 · 981 阅读 · 1 评论 -
js屏蔽浏览器右键菜单,粘贴,复制,剪切,选中
js屏蔽浏览器右键菜单,粘贴,复制,剪切,选中 //屏蔽右键菜单 document.oncontextmenu = function (event){ if(window.event){ event = window.event; }try{ var the = event.srcElement; if (!((the.tagName == "INPUT" && the原创 2013-12-27 17:29:55 · 1007 阅读 · 0 评论