<!DOCTYPE html> | |
<html> | |
<head> | |
<title>No-op touch handler</title> | |
</head> | |
<body> | |
This page has a no-op touch handler. | |
<script> | |
function noOpHandler(e) { | |
e.preventDefault(); | |
} | |
window.addEventListener('touchstart', noOpHandler, false); | |
window.addEventListener('touchmove', noOpHandler, false); | |
window.addEventListener('touchend', noOpHandler, false); | |
window.addEventListener('touchcancel', noOpHandler, false); | |
</script> | |
</body> | |
</html> |