<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<script language="JavaScript" src="mootools-1.2.3-core-nc.js"></script>
<script language="JavaScript" src="mootools-1.2.3.1-more-nc.js"></script>
</HEAD>
<BODY id='body'>
</BODY>
<Script>
function onkeydown(e){
alert(e.key);
e.keyCode=0;
e.stop();
return false;
}
Event.Keys.F3 = 114;
window.addEvent('domready', function() {
document.addEvent("keydown", this.onkeydown);
}) ;
</script>
</HTML>
在 IE8 中打开它,按F3,搜索动作来了。为什么我不能阻止它?