c++ - Non-drawing Mozilla plug-in -


I have some DLLs which apply some arguments. I want to create a cover which is the HTML page JavaScript in the Mozilla Firefox browser Will be accessible from. I've got a pseudo framework, but it only supports window control, I do not need a GUI. I'm looking for a mechanism like ActiveXObject implemented in Internet Explorer.

Its documentation is excellent tutorial on MDC you are looking for.

There are options to make it straightforward, but the code for NPAPI interface can be prepared (if I remember that right) and there is also the difference between the browser and the platform that hides you.

NPAPI was designed to display alternative content in websites, thus non-drawing plugins are not explicitly supported. If you know that your plug-in will not be visible in the page anyway (i.e. the object or embed element will be hidden as well), you do not need to do anything in NPP_SetWindow () or if you Drag the events into NPP_HandleEvents () . Alternatively you can draw some steady backgrounds.

The best equivalent for ActiveXObject () is a factory method for your plugin that creates a new scripted object, such as myPlugin.createObject () .


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -