屏蔽右键菜单
来源:互联网 发布:凡科建站系统源码 编辑:程序博客网 时间:2024/06/10 20:35
//屏蔽右键菜单
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;
}
}
- 屏蔽右键菜单
- JS屏蔽右键菜单
- JS 屏蔽右键菜单
- JS 屏蔽右键菜单
- 屏蔽鼠标右键菜单
- 屏蔽FLEX右键菜单
- JS 屏蔽右键菜单 .
- 屏蔽右键菜单
- 屏蔽右键菜单
- js屏蔽右键菜单
- 网页屏蔽右键菜单
- 屏蔽右键菜单
- 屏蔽flash右键菜单
- 屏蔽右键菜单
- 屏蔽浏览器右键菜单
- CefSharp 屏蔽右键菜单
- 屏蔽ComboBox系统右键菜单
- IE下屏蔽右键菜单
- 使用JDI监听Java程序运行
- Sourcery CodeBech Lite安装及使用
- C#打开应用程序和指定的文件夹
- 数据库 decimal
- cocos2d-x 学习 -ios
- 屏蔽右键菜单
- sigaction函数解析
- java读取properties的方法
- str 函数主要用于返回与指定数值表达式对应的字符,截取小数位数
- colorbox 应用
- 截尾平均数及利用SPSS求截尾平均数
- 深度探索C++对象模型要点
- CSS之Position详解
- 工作中一道sql题目的收获