Hola, epplestun.
A ver si esto te funciona:
Código PHP:
<html>
<head>
<script>
function pulsar(e) {
tecla=(document.all) ? e.keyCode : e.which;
if (tecla==9) {
alert('Tab pulsado');
return false;
}
}
</script>
</head>
<body onkeydown="return pulsar(event)">
</body>
</html>
Saludos,