View Single Post
  #57  
Old December 11th, 2008, 06:26 AM
yitzhaq yitzhaq is offline
Junior Member
 
Join Date: Dec 2008
Posts: 4
yitzhaq is an unknown quantity at this point
Default Opera compatibility

Hi Christina,

Quote:
Originally Posted by christina View Post
If we would develope a plugin for Opera, it will be a separate one.
There is no need to develop a separate plugin for Opera. The plugin you have developed for Firefox works perfectly in Opera, we have tested it, and found no issues. This is because what you call a Firefox plugin is actually an NPAPI plugin. NPAPI predates Firefox by many years, and was originally Netscape's Plugin API (hence the acronym). Opera has supported it since the 90s, and it is supported by many other browsers, including Firefox (as you know), Safari and others.

The only adjustment that you should make to declare Opera compatibility is in your installer. It currently seems to look explicitly for Firefox only, and if this is not found, the plugin is not installed. This means Opera users need to have both Firefox and Opera installed for the plugin to be available.
A much preferred approach to doing this, would be to not look for any specific browser, install the plugin files in Foxit Reader's own plugin directory, and add an entry in the MozillaPlugins registry key.

This should be a relatively easy fix, and would allow you to remove the Firefox-specific installer code. It will ensure that every browser supporting NPAPI plugins, including those installed after Foxit Reader, will know about the plugin and where to find it. It is also IMHO a much cleaner approach than leaving files in another program's directories.
This method is used by other popular NPAPI plugins, such as Adobe Flash Player and DivX Web Player. It is supported by Opera, Firefox, Safari and others, and is described here:
https://developer.mozilla.org/En/Plu...nstall_problem

If you want to discuss this further, please send me a private message so we can exchange contact details. I would be happy to put you in touch with our QA department.

Thanks for making great software,

Christer, Opera Software ASA
Reply With Quote