зеркало из https://github.com/mozilla/pjs.git
Updating readme file for the Plugin SDK -- not part of the build
This commit is contained in:
Родитель
23ba04e8cc
Коммит
e2aea7fa9c
|
@ -1,4 +1,4 @@
|
||||||
Last updated 10.02.2001
|
Last updated 12.05.2001
|
||||||
|
|
||||||
The current version of the Netscape Plugin API is designed to help
|
The current version of the Netscape Plugin API is designed to help
|
||||||
the developers to start creating plugins for Mozilla based browsers.
|
the developers to start creating plugins for Mozilla based browsers.
|
||||||
|
@ -15,10 +15,12 @@ The SDK is intended to help in creating full-blown plugins to work with
|
||||||
Mozilla code base without actually having the whole Mozilla source tree
|
Mozilla code base without actually having the whole Mozilla source tree
|
||||||
present and built.
|
present and built.
|
||||||
|
|
||||||
|
===============================================================
|
||||||
|
|
||||||
The Common folder contains stub implementations of the NPAPI methods, there
|
The Common folder contains stub implementations of the NPAPI methods, there
|
||||||
is no need to modify files in this folder, just include them into your project.
|
is no need to modify files in this folder, just include them into your project.
|
||||||
This is not necessary though, some samples or plugin projects may use
|
This is not necessary though, some samples or plugin projects may use
|
||||||
there own implementations, the files in this folder are just an illustration
|
their own implementations, the files in this folder are just an illustration
|
||||||
of one possible way to do that.
|
of one possible way to do that.
|
||||||
|
|
||||||
The Samples section at this point contains the following plugin samples:
|
The Samples section at this point contains the following plugin samples:
|
||||||
|
@ -36,7 +38,7 @@ This plugin example illustrates specific for Mozilla code base features.
|
||||||
It is scriptable via JavaScript and uses services provided by the browser.
|
It is scriptable via JavaScript and uses services provided by the browser.
|
||||||
Some xpcom interfaces are implemented here so the Mozilla browser is aware
|
Some xpcom interfaces are implemented here so the Mozilla browser is aware
|
||||||
of its capabilities. The plugin does not draw in the native window but
|
of its capabilities. The plugin does not draw in the native window but
|
||||||
rather JavaScript box is used to display the result of its work. Therefore,
|
rather uses JavaScript box to display the result of its work. Therefore,
|
||||||
there are no separate projects for different platforms in this sample.
|
there are no separate projects for different platforms in this sample.
|
||||||
|
|
||||||
3. Scriptable plugin
|
3. Scriptable plugin
|
||||||
|
@ -48,4 +50,11 @@ Scriptable samples require generation of .xpt files which should reside
|
||||||
in the Mozilla Components directory. To make sure Mozilla is aware of
|
in the Mozilla Components directory. To make sure Mozilla is aware of
|
||||||
the presence of the new .xpt file one may look at xpti.dat. To force
|
the presence of the new .xpt file one may look at xpti.dat. To force
|
||||||
Mozilla to re-scan the Components directory xpti.dat should be removed
|
Mozilla to re-scan the Components directory xpti.dat should be removed
|
||||||
before Mozilla is started.
|
before Mozilla is started.
|
||||||
|
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
Plugin developers might find it useful for debugging purporsed to turn
|
||||||
|
off the exeption catching mechanism currently implemented in Mozilla
|
||||||
|
on Windows. To do this add the following line into your prefs.js file:
|
||||||
|
user_pref("plugin.dont_try_safe_calls", true);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче