Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

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

user633449 已回复
vinuth

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.

所有回复 (1)

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