Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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.

Todas as respostas (1)

more options

Websites cannot turn on preferences.

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