MPlug (MASH Plugin)
Description
The MASH Plugin is a generic plugin for Netscape Communicator/Microsoft IE. It is a dynamically loadable library that gets invoked whenever you download mash scripts from the web.
Status
Beta (UNIX)
Alpha (Windows)
Installation
Installing from the binary release
Grab the latest MASH binary release. Run the setup utility, and make sure that you select the checkbox for installing MPlug.
Installing from the source release
- Grab the source release
- Compile mash and mplug.so. Refer to the source release web page for a detailed explanation of the compilation process.
make mash
make mplug
You should have a mash binary in the bin subdirectory of your mash source and npmplug.so in the lib directory (for UNIX), or npmplug.dll in the bin directory (for Windows).
- For UNIX:
- Copy or make a link to npmplug.so in the ~/.netscape/plugins/ directory.
- For Windows:
- Copy npmplug.dll to C:\Program_Files\Netscape\Communicator\Program\Plugins\ or the corresponding directory for your web browser.
- Create a file ~/.mash/prefs-mplug. On Windows, ~ refers to the directory that the %HOME% environment variable points to. A sample description of what your prefs-mplug file should look like can be found here
- Detailed description of installing the plugin can be found on the binary release page.
Usage
- Ensure that your plugin is installed properly by looking at the Help|About Plugins menu item (Netscape). You will need JavaScript enabled for this page. It should list MPlug as one of the plugins installed. Also verify that Netscape does register the plugin as the application to invoke when it detects either an x-mash/x-script or an application/x-sd mime-type. You can do this by visiting the Edit|Preferences|Navigator|Applications dialog box in Communicator, or the Options|general Preferences|Helpers box in Navigator.
- Visit any page that contains a mash script. That's it! If the plugin is configured correctly, it should launch mash and execute the script. You can find a test script here