I am building a site and differentiating actions depending on the browser used by the client. I use javascript for this.
Something confusing has appeared so I did several tests and it comes down to this:
Running the following javascript command in Safari:
document.write(navigator.appName);
will yield
Netscape
Is this normal? How can I detect Safari as Safari using javascript?
Thanks for any input
Something confusing has appeared so I did several tests and it comes down to this:
Running the following javascript command in Safari:
document.write(navigator.appName);
will yield
Netscape
Is this normal? How can I detect Safari as Safari using javascript?
Thanks for any input