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 ?
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 ?
Share asked Jul 28, 2016 at 19:20 Sylvain MartinSylvain Martin 2,3753 gold badges16 silver badges30 bronze badges1 Answer
Reset to default 2You should be able to bind to the touchmove event:
$('*').bind('touchmove', false);
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744918680a4600994.html
评论列表(0条)