We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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.

Wszystkie odpowiedzi (1)

more options

Websites cannot turn on preferences.

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