搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can we enable Touch Event on Firefox desktop version using javascript?

more options

I've built an app that will be able to work with touchscreen monitor and have been stuck at working with Touch Event on a windows 8.1 device which is running Firefox desktop version. Refer to https://support.mozilla.org/en-US/questions/1089899, we can't let user do it manually like that, is there any way that we can enable it using javascript without configuring?

By the way, on the API document (https://developer.mozilla.org/en-US/docs/Web/API/Touch_events), it said: "The touch events support introduced with Gecko 18.0 has been disabled on the desktop version of Firefox (bug 888304).... Once the bug is fixed, the API will be enabled again."

I saw that the bug 888304 was stated "VERIFIED FIXED" but I didn't see any mention about API being enabled. Could you please help me verify this?

Thanks.

I've built an app that will be able to work with touchscreen monitor and have been stuck at working with Touch Event on a windows 8.1 device which is running Firefox desktop version. Refer to https://support.mozilla.org/en-US/questions/1089899, we can't let user do it manually like that, is there any way that we can enable it using javascript without configuring? By the way, on the API document (https://developer.mozilla.org/en-US/docs/Web/API/Touch_events), it said: "The touch events support introduced with Gecko 18.0 has been disabled on the desktop version of Firefox (bug 888304).... Once the bug is fixed, the API will be enabled again." I saw that the bug 888304 was stated "VERIFIED FIXED" but I didn't see any mention about API being enabled. Could you please help me verify this? Thanks.

所有回复 (1)

more options

Websites cannot turn on preferences.

Currently, for Windows users, touch events are enabled only on the "Nightly" testing build.