var eventS = document.createEvent("HTMLEvents");
eventS.initEvent("touchstart", true, true);
eventS.eventName = 'touchstart';
eventS.touches = [{x:100,y:100},{x:150,y:150}];
var eventE = document.createEvent("HTMLEvents");
eventE.initEvent("touchend", true, true);
eventE.eventName = 'touchend';
var autoTap;
touch.on('.reload_box','tap',function() {
setTimeout(function() {
autoTap = setInterval(function(){
$('.tap_big')[0].dispatchEvent(eventS);
$('.tap_big')[0].dispatchEvent(eventE);
},10);
setTimeout(function(){
clearInterval(autoTap);
},30000);
}, 4500);
});
touch.on('.inint','tap',function() {
setTimeout(function() {
autoTap = setInterval(function(){
$('.tap_big')[0].dispatchEvent(eventS);
$('.tap_big')[0].dispatchEvent(eventE);
},10);
setTimeout(function(){
clearInterval(autoTap);
},30000);
}, 4500);
});
eventS.initEvent("touchstart", true, true);
eventS.eventName = 'touchstart';
eventS.touches = [{x:100,y:100},{x:150,y:150}];
var eventE = document.createEvent("HTMLEvents");
eventE.initEvent("touchend", true, true);
eventE.eventName = 'touchend';
var autoTap;
touch.on('.reload_box','tap',function() {
setTimeout(function() {
autoTap = setInterval(function(){
$('.tap_big')[0].dispatchEvent(eventS);
$('.tap_big')[0].dispatchEvent(eventE);
},10);
setTimeout(function(){
clearInterval(autoTap);
},30000);
}, 4500);
});
touch.on('.inint','tap',function() {
setTimeout(function() {
autoTap = setInterval(function(){
$('.tap_big')[0].dispatchEvent(eventS);
$('.tap_big')[0].dispatchEvent(eventE);
},10);
setTimeout(function(){
clearInterval(autoTap);
},30000);
}, 4500);
});