Q:

Android/iOS mobile browser - disable events

How can I disable default mobile browser events like zoom (dblclick, expand) and options (when you hold down your finger on a screen a popup appears with options)?
I tried this:
document.addEventListener('ontouchstart', function(event) 
{
event.preventDefault();
}, false);

A:

You can prevent the finger move(scroll the page) like this:
document.addEventListener('ontouchstart', function(e) {
    e.preventDefault();
});

document.body.addEventListener('touchmove', function(e) {
    e.preventDefault();
});

And the zoom you just need to adjust the viewport like this:
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

