da quanto ho testato sembra che solo FireFox permetta di sfruttare il return false
codice:
<html>
	<head>
		<script>
		onload = function(){
			document.onkeydown = function(evt){
				if(!evt)
					evt = event;
				if(!evt.which)
					evt.which = evt.keyCode;
				document.getElementById("key").innerHTML = evt.which;
				return false;
			};
		};
		</script>
	</head>
	<body>
		<div id="key"></div>
	</body>
</html>
P.S. il codice del tasto F1 è 112