限制打开新窗口 use showModalDialog() to open the window 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1、 <body oncontextmenu="return false"> showModalDialog()方法默认屏蔽右键和ctrl+N使用方法:http://www.csdn.net/develop/Read_Article.asp?Id=15113 2、借花献佛:<script language=javascript>function document.onkeydown(){ if ((event.ctrlKey)&&(event.keyCode==78)) //屏蔽 Ctrl+n event.returnValue=false;}</script> 对不起,用showModalDialog()打开的窗口满足不了我的功能。 非要屏蔽,可以参考一下http://expert.csdn.net/Expert/topic/1482/1482416.xml?temp=.7594721 前台传递中文到后台就乱码 关于ext的API --mxgraph \u9519\u8BEF如何转为汉字? 大家来pk啦,数组组合算法,你最快的浏览器+你最快的程序能跑到多少 onClick事件的问题,估计不难,高手赐教 我如何用javascript获取object 中的PARAM值?? 请教高手,如何获得窗口的宽和高? 关于提交的问题!! 如何实现给在线网友发送即时消息的功能????? Applet与JS的通讯问题 如何将Iframe值 传给 父frame 模式窗口有什么好处??
使用方法:http://www.csdn.net/develop/Read_Article.asp?Id=15113
<script language=javascript>
function document.onkeydown()
{
if ((event.ctrlKey)&&(event.keyCode==78)) //屏蔽 Ctrl+n
event.returnValue=false;
}
</script>
http://expert.csdn.net/Expert/topic/1482/1482416.xml?temp=.7594721