
From Javascript, how do I know if version is ESR or not?
I need to be able to determine in Javascript whether or not the browser used by a user is a ESR version or not.
I need to be able to do this regardless of the OS on which the browser is running.
All Replies (1)
hello jsilva, i think there's no reliable way to do that. though you can use javascript to check a client's user agent, the firefox extended support releases currently don't contain a special string in the ua which would identify them. since there were no regular firefox versions 10.0.3 - 10.0.9 released, you only could assume that you're dealing with a esr version when those show up...
edit: furthermore in future versions the firefox user agent won't reveal the patch level of a version any longer, so this won't work with the upcoming firefox 17 esr - it will always show up as Firefox/17.0
Modified