让IE右上角的“关闭”按钮失效
实例1即可实现。
-----------------------------------
<script language=javascript>
window.onbeforeunload = function()
{
if(event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey||event.ctrlKey)
{
window.event.returnValue = "";
}
}
</script>
2----------------------
没有关闭按扭
window.open("","","fullscreen=3")
3----------------------
屏蔽alt+f4
if (window.event.altKey && k == 115){
return false;
}