IE屏蔽右键
来源:互联网 发布:网站访问量统计js插件 编辑:程序博客网 时间:2024/06/05 09:31
<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>
//屏蔽右键菜单
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>
- IE屏蔽右键
- IE下屏蔽右键菜单
- VB:屏蔽IE的右键菜单
- IE屏蔽鼠标右键及快捷键方法
- WEB页面屏蔽IE右键菜单
- 屏蔽IE浏览器鼠标右键菜单
- IE,FireFox中屏蔽右键菜单和选择功能
- 网页中屏蔽右键,不允许选择文本.兼容IE,Firefox
- 屏蔽一个table中的右键,支持ie,ff
- JS屏蔽鼠标右键(仅支持IE浏览器)
- IE屏蔽鼠标右键、禁止复制粘贴等功能
- IE屏蔽鼠标右键、禁止复制粘贴等功能
- IE屏蔽鼠标右键、禁止复制粘贴等功
- IE屏蔽鼠标右键、禁止复制粘贴等功能
- Qt使用IE控件和屏蔽页面右键菜单
- 屏蔽右键
- 屏蔽右键
- 屏蔽右键
- 求数组中和最大的子序列
- linux下有用的源
- Matlab画图指令小记
- 关于代理 不能忽视的小问题
- tomcat GZIP 压缩参数设置
- IE屏蔽右键
- HibernateTemplate
- Linux framebuffer from Wiki
- #Testin杯#+如何在你的应用中嵌入广告
- 用visualvm监控远程java进程内存回收
- WPF之Page介绍(以及Page之间的链接)
- Behaviors扩展----根据Pivot的item自动切换AppBar
- tomcat6+eclipse远程debug
- On-line learning for Visual Tracking