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 ?
您应该能够绑定到touchmove事件:
$('*').bind('touchmove', false);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.