window.addEventListener("touchstart", touchHandler, false); function touchHandler(event){ if(event.touches.length > 1){ //the event is multi-touch //you can then prevent the behavior event.preventDefault(); } }