Tcl/Tk plugin

The Tcl/Tk plugin was made to display in a web browser some widgets and functionalities usually found in desktop-based Tcl/Tk applications. As of March 2010, it is compatible with Tcl 8.4.

See also:


An effort to revive the Tcl plugin has begun: [L1 ] [L2 ]

"This is the Tcl browser plugin reshaped into a NP runtime version and 
based on the Mozilla Gecko SDK. It contains fixes to work with Tcl 8.6 and 
a new tclplugin.dll from this version. Tclets are now capable of 
interaction with the browser NP runtime and the document tree, 
including invocation of Javascript functions. Additionally there is a 
scriptable object in every embedded Tclet for interaction from Javascript 
from within the embedding document."

LAM - 2014-10-23 02:55:59

IMPORTANT

To someone who can modify the xpi file ...

The "install.js" was deprecated long time ago in favor of an "install.rdf" file manifesto.

Since the plugin (at least in Win7) is working ok, would be easy to fix the xpi file:

  • Delete the install.js
  • Create a subdirectory "plugins" and move there all the files.
  • Add a install.rdf file like that ... this should be at the root inside the XPI file (not in "plugins").
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
  <Description about="urn:mozilla:install-manifest">
        <em:id>[email protected]</em:id>
        <em:version>3.1</em:version>
        <em:targetApplication>
         <Description>
          <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
          <em:minVersion>1.5</em:minVersion>
          <em:maxVersion>33.5</em:maxVersion>
         </Description>
        </em:targetApplication>
        <em:name>Tcl Plugin</em:name>
        <em:unpack>true</em:unpack>
        <em:description>TCL-TK Plugin 3.1</em:description>
        <em:homepageURL>https://www.tcl-lang.org/software/plugin</em:homepageURL>
  </Description>
</RDF>

Work for me on Win7-FF 33.*

Note: maxVersion could be the most problematic item.

The following install.rdf adds support for SeaMonkey (which may or may not actually work):

<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
  <Description about="urn:mozilla:install-manifest">
    <em:id>[email protected]</em:id>
    <em:version>3.1</em:version>
    <em:targetApplication>
      <Description>
        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
          <em:minVersion>1.5</em:minVersion>
          <em:maxVersion>41.0</em:maxVersion>
      </Description>
    </em:targetApplication>
    <em:targetApplication>
      <Description>
        <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
          <em:minVersion>1.0</em:minVersion>
          <em:maxVersion>2.38</em:maxVersion>
      </Description>
    </em:targetApplication>
    <em:name>Tcl Plugin</em:name>
    <em:unpack>true</em:unpack>
    <em:description>Tcl/Tk Plugin 3.1</em:description>
    <em:homepageURL>https://www.tcl-lang.org/software/plugin</em:homepageURL>
  </Description>
</RDF>

News

ANNOUNCEMENT: Tcl plugin 1.0 final release available , Jacob Levy, 1996-10-11