当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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.