A
Andrew Poulos
Is there a way to test whether the browser is Firefox version less than
2.0 or 2.0+?
Andrew Poulos
2.0 or 2.0+?
Andrew Poulos
Is there a way to test whether the browser is Firefox version less than
2.0 or 2.0+?
Is there a way to test whether the browser is Firefox version less than
2.0 or 2.0+?
Andrew said:Is there a way to test whether the browser is Firefox version less than
2.0 or 2.0+?
RobG said:I take a positive view that that you are using this for your own
interest and not for inferring feature support based on browser
sniffing:
Thanks
alert( navigator.userAgent );
My Firefox 2 looks like:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1)
Gecko/20061010 Firefox/2.0
*It is unreliable*. However, since few sites use sniffing any more
(though unfortunately some major sites still do) there is less
incentive to fake the UA string.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.