חיפוש בתמיכה

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.