Re: Java plugin phase out timeline

Chris Peterson <[email protected]> Mon, 2 Jan 2017 21:25:41 -0800
Newsgroups gmane.comp.mozilla.devel.plugins
Message-ID <[email protected]>
On 1/2/2017 8:44 AM, [email protected] wrote:
>> > How can I - based on browser user agent detection - tell the difference between a version 52 *release* and a version 52 *ESR* ?
>> > I want to guide the end user depending on the browser capability to support the Java plug-in.
>> > Thanks
>> > Peter
> I seem to have found the answer in https://bugzilla.mozilla.org/show_bug.cgi?id=1269807#c83 :
> "Unfortunately, you can't detect ESR from the server side because both ESR and non-ESR releases have the same User-Agent string."

As noted, there is no officially supported method to differentiate 
between the ESR and regular non-ESR versions of Firefox 52 using 
User-Agent detection on the server side. However, non-ESR Firefox 52 is 
dropping support for Windows XP and Vista, while ESR 52 will continue to 
support XP and Vista. So if a User-Agent string says the user is running 
Firefox 52 and XP or Vista, then they are running ESR 52.

On the client side, you can make a good guess. If navigator.plugins has 
zero or exactly one entry and it is Flash, then there is a good chance 
the user is running ESR 52, since many people have other plugins such as 
Adobe Acrobat Reader that would show up in ESR 52.