Copyright © 2005-2012 Opera Software ASA. All rights reserved. This file is part of the Opera web browser. It may not be distributed under any circumstances.
The jsplugins module implement Native JavaScript Extensions.
For detailed information on how to use the jsplugins module in Opera and the module's public API, please refer to the API documentation. The documentation needs to be generated by Doxygen.
TODO-is this correct? The visible core API consists largely of the following classes:
JS_Plugin_Context objects, and handles the routing of properties
to and from extensions.
For detailed documentation for jsplugin authors, please refer to “HOWTO write an Opera Native JavaScript Extension”.
Native JavaScript Extensions have support for security models which permit restricting where they are allowed to be instantiated. More information is available in the developer documentation.
TODO
Native JavaScript Extensions is an Opera-proprietary technology, documented in the developer documentation.
The initialisation of the module is handled through the
Opera::InitL() API.
During the module initialization process (called from
Opera::InitL(), the module instantiates a singleton
global instance of the
JS_Plugin_Manager
class.
During initialization, the JS_Plugin_Manager reads the
jsplugins.ini file to determine which plug-ins to
load, and which permissions they have
(see the
developer documentation
for more information).
The lists of permissions and dynamic libraries remain in memory for the
entire lifetime of Opera.