jquery - How and can I disable touch events in Javascript? - Stack Overflow

I would like to force to disable touch events with Chrome and by pass the option set up to automatic by

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 badges
Add a ment  | 

1 Answer 1

Reset to default 2

You should be able to bind to the touchmove event:

$('*').bind('touchmove', false);

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744918680a4600994.html

相关推荐

  • jquery - How and can I disable touch events in Javascript? - Stack Overflow

    I would like to force to disable touch events with Chrome and by pass the option set up to automatic by

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信