Hello,
I have taken the Tclplugin sources and put some sparetime work into it. Mainly I fixed some bugs and put in an enhancement to make Tclets scriptable and interact with the browser, document DOM and Javascript. Apart from that I created an MSI setup for Windows.
Its still NPAPI and works with browsers that support NPAPI. So far I haven't done anything for Linux or Mac OSX... (I am sure that it will compile and run on Linux with minor modifications, but OSX is more difficult).
From the README:
Version 4 of the plugin contains some minor bugfixes for compatibility with
Tcl 8.5 and 8.6, restores the old functionality and make old Tclets
working with new Tcl versions.
Apart from that it includes an enhancement for communication with the
browser NP runtime, i.e. "scriptable object". This enables Tclet authors
to access the document DOM, read and modify elements within the document
and call javascript functions from Tclets. It also enables access to
special functionality exported by the browser through NPR, such as the
console or browser storage etc.
As of now the plugin version 4 works on all mozilla Gecko based browsers,
such as firefox, seamonkey (everywhere), kmeleon,... (windows), icecat,
epiphany, ... (linux), etc. The pluginhostctrl activex control can be
restored in the near future to make it work on IE, this is not yet done.
The plugin works not with Google Chrome, Opera and the like, since these
browsers are not supporting anymore (or phasing out the support of) NPAPI.
The sources are here in a fossil repo:
https://fossil.e-lehmann.de/tclplugin/
As of now this is the only place to get the plugin in this version. The MSI setup is checked in for convenience, in installers/msi/.
If you could use it, it would be great if you test it and leave me feedback... Eventually it could then also be made more official and updated on the plugin webpage
http://tcl.tk/software/plugin/.
--
EL