This page attempts to describe how the Tcl web browser plugin is designed, mostly from the C level and to some extent the Tcl level.
The installation structure of the plugin
+--- /path/to/browserdir/plugins/ +--- (lib)nptcl<ver>.(so|dll) +--- nptcl/ +--- tclplugin.(so|dll) # a [stardll], may also use regular Tcl installation +--- basekit(.exe) # optional, used by default on unix +--- plugin<ver> +--- config/ +--- safetcl/ +--- utils/ +--- installed.cfg
Mozilla Gecko NPAPI reference: [L1 ]
XPInstall documentation for creating XPIs (plugin delivery): [L2 ]
Old Netscape docs for NPAPI: [L3 ]