Quick Question...
Has anyone got any idea how I can use the navigator.appName in Javascript and use to detect if the clients browser is Opera?
Cheers
Printable View
Quick Question...
Has anyone got any idea how I can use the navigator.appName in Javascript and use to detect if the clients browser is Opera?
Cheers
strsomething = navigator.appname
or
if(navigator.appname == 'Netscape') then
blah blah
else
blah blah
(correct my typos)
and...
open up a page in opera and try to document.write the navigator appname... should help u.
Thanks mendhak,
I got that far BUT the only problem is is that Opera disguises itself as Internet Explorer. I just cant think of a way around.
Thanks a lot :confused:
If there's something specific you wanna work around, post it up... maybe there IS a way!