Re: Iceweasel and Firefox compatibility
On Tue, Nov 10, 2009 at 11:43:19AM -0600, John Goerzen wrote:
> John Goerzen wrote:
> > My suggestion is this:
> >
> > Take the default Firefox user agent.
> >
> > Where you see Firefox/x.y.z, change it to:
> >
> > Firefox/x.y.z Iceweasel/x.y.z
> >
> > And that will accomplish everything needed.
> >
> > Sound good, Mike?
Sounds too Firefoxy. Would you mind trying the Camino style for a while?
> I forgot to add: JavaScript must also make sure to handle as if it's
> Firefox. I am not certain what the technical details are there; can
> someone enlighten us or propose a test case?
The usual (bad) way to do browser sniffing in javascript is to that the
UA string from the navigator.userAgent variable.
Mike
Reply to: