
document.addEventListener("touchstart", start_timer);
document.addEventListener("touchend", stop_timer);

var timer_id;

function start_timer()
{
   timer_id = setInterval(vibrate, 200);
    
}

function stop_timer()
{
    clearInterval(timer_id);
    
}

function vibrate()
{
    window.navigator.vibrate(300);
}

@@ -209,24 +209,56 @@
 p_timer()%0A%7B%0A
+    indow.navigator.vibrate(0);%0A
     clearInt

update interval