Att: DynAPI developers
Opera Software unfortunately receives a lot of bug-reports on sites that
use a DynAPI script written by Dan Steinman and maintained by SourceForge.net.
The problem seems to be that you are not identifying Opera correctly and
therefore not sending us the correct code. If Opera identifies as MSIE, the
scripts seem to work well. Would it be possible for you to update your
script and make sure Opera gets the same code as you send to MSIE? That
would help us a lot.
Below follows examples of how to correctly identify the Opera browser.
-----------How to identify Opera correctly---------------
To make sure to correctly check for Opera, we
suggest you look for Opera anywhere in the UA string. The search for
Opera should be BEFORE all other searches to make sure that Opera is found.
This is how the UA string in Opera may appear:
Opera/6.05 (Windows 98; U) [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 6.0 [en]
Mozilla/5.0 (Windows 98; U) Opera 6.0 [en]
Mozilla/4.78 (Windows 98; U) Opera 6.0 [en]
Mozilla/3.0 (Windows 98; U) Opera 6.0 [en]
In Opera 7, MSIE 6.0 has been added when ID is set to MSIE:
Mozilla/4.0 (compatible; MSIE, 6.0; MSIE 5.0; Windows 98) Opera 7.0 [en]
Notes:
- It can be Opera/7.0,6.05, 6.04, 6.03,6.02, 6.0, 5.12, 5.02, etc.
- 4.78 may become something else in the future and may have been
something else in the past. This means that all version numbers may be
changed.
- If you want to see what version of Opera that is used, then please
look AFTER the name Opera. Opera might be followed by either a slash
("/") or a space.
- language may be changed depending on the user's preferences
- note that if you use JavaScript to retrieve information about the
browser, then you will need to use the UA string and not the
application name attribute. This is because the application name
attribute will show MSIE or Netscape if Opera identifies as one of
these.
- Generic regexp pattern for retrieving Opera versions from UA String:
Opera.([\d]+\.[\d]+)
------------------------------
We hope this problem can be fixed and hope to hear from you soon regarding
this problem.
Thanks and regards,
Anne-Hilde Vestre
Opera Software ASA
www.opera.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/
