mozdev.org

JSLib
Page Updated: March 08, 2007
Latest Version: 0.1.362
Debug | Install | File I/O | RDF | Network | Sound | Utils | XUL | Zip
Home | Mailing List | Install | Source Code | Downloads | Bugs | docs | clients

jsLib Signed
Recommended Installs

jsLib install [lite]

jsLib install [full]


Other jsLib Installations

XPI Build Date Build Type Target Platforms Description Size
jslib_current.xpi Jan 28, 2010 Full Production Install Mozilla
Firefox 0.9+
Thunderbird 0.7+
This is the full installation of jsLib 204K
jslib_current_lite.xpi Jan 28, 2010 Production Install Lite
(smaller download size)
Mozilla
Firefox 0.9+
Thunderbird 0.7+
This is the lite version of jsLib, a smaller download, but with full functionality. 140K
jslib_current_static.xpi Jan 28, 2010 Development Install Mozilla For use w/ xpcshell and XUL. Source code is uncompressed. 220K

On Mozilla, jsLib installs into your Mozilla application chrome directory, thus making it available to all profiles. On some systems where you may not have write permission, jsLib will install into the moz user profile that is requesting the install. In which case it will be available only to that profile.
On Firefox and Thunderbird, jsLib is integrated into the Extension Manager system. It installs into the extensions/ sub-folder in the user profile directory.

After you successfully install the jsLib package, you can test it out.

Launch Mozilla from a shell or command prompt.

Linux/Unix/OSX

  # from mozilla bin dir
  ./mozilla -jslib

Windows
  # from mozilla bin dir
  mozilla.exe -jslib

Or you can test your jslib install from your browser.

Just open a new tab:

  File->New->Navigator Tab (Ctl+t).
In your location URL bar type:
 
  chrome://jslib/content/

In all cases, you should see the jslib splash screen. Just click on it to make it go away.

If you have install problems:

If you see "chrome registration failed" error, this probably means that you are on Linux using a root installed version of Mozilla. To rectify this problem, you will need to go to your Mozilla installation directory and do this:

  $ cd /usr/lib/mozilla-1.x.x/chrome/  # where mozilla-1.x.x is the name of the installed system wide version
  $ chmod a+w mozilla/chrome/installed-chrome.txt
This files needs to be writable by users other than root so add-ons can be installed.

Using jsLib in your application

Or just type jslib:docs or jslib:help

The jslib project can be contacted through the mailing list or the member list.
Copyright © 2000-2010. All rights reserved. Terms of Use & Privacy Policy.