How and can I disable touch events in Javascript?
10,319
You should be able to bind to the touchmove event:
$('*').bind('touchmove', false);
Author by
Sylvain Martin
Updated on June 16, 2022Comments
-
Sylvain Martin almost 2 years
I would like to force to disable touch events with Chrome and by pass the option set up to automatic by default in the chrome preferences. I know users can disable it in
chrome://flags
but I would like to drive it programmatically.I have noticed that
'ontouchstart' in window
is not interpreted the same way on each browser.Is it possible in javascript to reset this value ?