Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How to read the Firefox update channel (Release or ESR) from javascript code ?

  • 1 réponse
  • 1 a ce problème
  • 11 vues
  • Dernière réponse par user633449

more options

I need to allow the user to login to my application only if he is using ESR update channel of firefox.

I tried to read the value from "navigator.userAgent.search("ESR")" command but this command does not say any thing about update channel.

How can i check firefox has esr update channel or not ? from javascript.

Thanks.

I need to allow the user to login to my application only if he is using ESR update channel of firefox. I tried to read the value from "navigator.userAgent.search("ESR")" command but this command does not say any thing about update channel. How can i check firefox has esr update channel or not ? from javascript. Thanks.

Toutes les réponses (1)

more options

The release channel is not exposed to websites for good reason. What you want to do is not possible.