script.js p=0;
document.ontouchstart= function(e){
p=e.touches[0].pageX;
if(e.touches.length==2) document.querySelector(' a[title="Delete"] ').click();
}
document.ontouchmove= function(e){
x=e.touches[0].pageX;
if(x-p>4){pressKey(39);p=x;}
if(p-x>4){pressKey(37);p=x;}
}
function pressKey( code ){
k = document.createEvent("Event");
k.initEvent( "keydown" ,true,true);
k.keyCode = code;
document.getElementById( "text-input" ).dispatchEvent(k);
}