<script language="JavaScript" type="text/javascript">
window.history.forward(1);
</script>
<script language="javascript" type="text/javascript">
if(event.keyCode==13 && event.srcElement.type!='button' && event.srcElement.type!='submit' && event.srcElement.type!='reset' && event.srcElement.type!='textarea' && event.srcElement.type!=''){
event.keyCode=9;
//屏蔽alt+左右方向键(页面后退前进)
if((event.altKey)&&((event.keyCode==37)||(event.keyCode==39))){
event.returnValue=false;
}
//屏蔽alt+左右方向键(页面后退前进)
if((event.altKey)&&((event.keyCode==37)||(event.keyCode==39))){
event.returnValue=false;
}
//屏蔽退格删除键,屏蔽F5刷新键,Ctrl+R
if((event.keyCode==116)||(event.ctrlKey && event.keyCode==82)){
event.keyCode=0;
event.returnValue=false;
}
//屏蔽alt+左右方向键(页面后退前进)
if((event.altKey)&&((event.keyCode==37)||(event.keyCode==39))){
event.returnValue=false;
}
//屏蔽退格删除键,屏蔽F5刷新键,Ctrl+R
if((event.keyCode==116)||(event.ctrlKey && event.keyCode==82)){
event.keyCode=0;
event.returnValue=false;
}
//屏蔽Ctrl+n
if((event.ctrlKey)&&(event.keyCode==78)){
event.returnValue=false;
}
//屏蔽shift+F10
if((event.shiftKey)&&(event.keyCode==121)){
event.returnValue=false;
}
//屏蔽shift加鼠标左键新开一网页
if(event.srcElement.tagNam == "A" && event.shiftKey){
event.returnValue = false;
}
//屏蔽Alt+F4
if((event.altKey)&&(event.keyCode==115)){
showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
return false;
}
</script>
<script language="javascript" for="document" event="onkeydown" >
//回车等同于Tab键
}
//屏蔽shift加鼠标左键新开一网页
if(event.srcElement.tagNam == "A" && event.shiftKey){
event.returnValue = false;
}
//屏蔽Alt+F4
if((event.altKey)&&(event.keyCode==115)){
showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
return false;
}
</script>