Latest News & Files | Warp Wishlist | Links to OS/2 sites | A History of OS/2 | David Both's History of OS/2

Tips for Warpzilla - Mozilla for OS/2
Last updated on August 6, 2010

Warpzillaos2bbs

Jump to: Compatible Plugins | Tips for more functionality

Latest Releases
  • Seamonkey 2.0.6
  • Firefox 3.6.8
  • Thunderbird 3.1.2
  • Old Releases
  • Seamonkey 1.1.19
  • Firefox 3.5.11
  • Thunderbird 3.0.6
  • Sunbird 0.9
  • Test Builds
  • Seamonkey 2.1a2
  • Firefox 3.7a6pre
  • Thunderbird 3.2a1pre
  • Kompozer 0.8b4pre
  • Resources
  • Warpzilla Home Page
  • Warpzilla Newsgroup
  • WarpBrowsers mailing list
  • Known OS/2 Bugs
  • Mozilla Knowledge Base
  • Newsbits
    • The libc06 runtime is required for Firefox 3.x, Thunderbird 3.x, and Seamonkey 2.x builds. The libc05 runtime is required for earlier builds. It is recommended that you just install both of them.
    • There are OS/2 builds of Enigmail, which allows you to use GnuPG with your email.
    • Peter Weilbacher made unofficial builds of older versions of Seamonkey, Firefox, and Thunderbird that contain some WPS integration enhancements; these enhancements are already included in Firefox 3.x and Seamonkey 2.x. He also has a build of KompoZer, the standalone HTML editor based on Mozilla Composer.
    • Mozilla applications require IPluginW in order to use Java (XPI Install / Download); note that it is already included in Firefox 3.x and Seamonkey 2.x, and you should not use this old version in those newer builds.
    • The Mozilla Calendar extension was discontinued; development is now focused on the stand-alone Sunbird program, as well as the Lightning extension for Thunderbird and Seamonkey.
    • The IBM team quit working on Mozilla for OS/2 many years ago. Outside developers are encouraged to participate; one of the required tools is rc.exe version 5.00.007.

    Compatible Plugins Filename Notes
    "NULL" plugin npnulos2.dll This is intended to help you download plugins when they are not installed. It is no longer active in Firefox or Seamonkey 2.x.
    Flash Flash 10
    npflos2.dll Available for eComstation Software Subscription customers; only works on eCS 1.2 and later. Does not work with LIBPATHSTRICT or SMP.
    Flash Flash 7
    npswf2.dll Flash7 package patched so that sound works with LIBPATHSTRICT; reports itself as Flash 9
    Java Java 1.4.2
    npj2.dll
    & others
    Requires the InnoWin Runtime and IPluginW; does not work on Firefox 3.6.x and above.
    See documentation for info on which files you need to copy
    Java Java 1.4.1
    npgcd.dll Native OS/2 port; Requires IPluginW; does not work on Firefox 3.6.x and above.
    Acrobat Acrobat 4.05
    Acrobat 5.1
    nparos2.dll
    nparos25.dll
    Requires the InnoWin Runtime
    To get this plugin working with LIBPATHSTRICT, you can use this patch (for Acrobat 4), follow the idea in the patch to patch your own version, or add \OS2\DLL to BEGINLIBPATH
    MPlayer npmp.dll Streaming audio/video plugin (MPEG, QuickTime, WMV, ASF, FLV, and more). You can use this patched snapwrap.dll to get SNAP overlays working with LIBPATHSTRICT
    WarpVision npwv.dll Streaming audio/video plugin (MPEG, QuickTime, WMV, ASF, OGG, and more). Not recommended; use MPlayer instead.
    DjVu npdjvu.dll DjVu is a set of compression technologies, a file format, and a software platform for the delivery over the Web of digital documents, scanned documents, and high resolution images.
    PM Downloader nppmd.dll Captures and handles downloads
    Auto Wget npawgbin.dll
    & others
    Captures and handles downloads
    Also has npawgaud.dll and npawgvid.dll for handling audio and video
    GBM npgbm.dll Generalised Bitmap Module can display a variety of bitmap file formats
    META viewer npmeta.dll Allows you to view *.MET files
    Unzip Plugin npunzip.dll
    You can "install" plugins by simply copying them to the plugins directory (or your profile plugins directory)
    Developers may want to check out the OS/2 Plugin Toolkit (from Hobbes), including this update
    Another place to find plugin information is plugindoc

    Tips for more functionality
    Installing It is safe to use the installer executable to install over previous versions, as long as you used the installer previously. Otherwise, you should always unzip or install new builds into a fresh directory; installation on top of previous builds may cause problems. Here is an old install script if you want more icons.
    Profiles You can use the MOZILLA_HOME environment variable to determine the location for your Warpzilla profiles. By default, profiles are created in the application directory. With this variable, they will be created and used under %MOZILLA_HOME%\Mozilla instead. Note that Seamonkey 1.x uses the same profile data that Mozilla Suite did, while Seamonkey 2.x, Firefox, and Thunderbird have separate profiles, but can migrate profile data if it is in %MOZILLA_HOME%.

    You can transfer portions of older profiles into a new profile; there are tips for Seamonkey, Firefox, and Thunderbird. Moving profiles can be done, but requires manually modifying paths in configuration files (primarily prefs.js), and getting registry.dat to point to the correct profile location. This online registry.dat editor (for Seamonkey 1.x) or these REXX tools can help.

    If you want to create "unsalted" profiles (no intermediate directory.slt), check out these directions (for Seamonkey 1.x)

    Plugins for profiles Warpzilla will look for plugins in .\plugins, %MOZILLA_HOME%\Mozilla\Plugins, and in the path specified by the %MOZ_PLUGIN_PATH% environment variable.
    Antialiased fonts Firefox 3.x and Seamonkey 2.x feature built-in support for antialiased fonts. Only TrueType and Type 1 fonts can be used, so you may want to install WorkPlace Sans to replace WarpSans.

    Innotek released an anti-aliasing font engine that works with earlier Mozilla versions; to enable full support for it you need to "set MOZILLA_USE_EXTENDED_FT2LIB=T", and it is recommended that you get a good UniCode font, such as Code2000. In order for it to work with Seamonkey, you must add it to the list of applications to enable it for. The easiest method is to use RegEdit2 to find the entries for os2web.exe and replace them with seamonkey.exe

    MathML fonts Firefox 3.x and Seamonkey 2.x feature support for MathML, but you need to have fonts that contain the required symbols, such as the STIX fonts; the old MathX* and CM* fonts are obsolete. After you have the fonts installed, you can test MathML.
    Drag & Drop Warpzilla 1.3 and above feature full drag&drop support, both to and from the browser. You can hold down the Ctrl key if you want to copy images and web pages, rather than just creating URL objects.

    Rich Walsh implemented new drag&drop features for 1.6 and later:
    Drop these on Mozilla Press Mozilla will get this Formatted as
    WPSUrl object contents of the object Url, HTML, & Text
    any file path of the object Url, HTML, & Text
    any file Alt contents of the file Text
    DragText Url Url text Url, HTML, & Text
    DragText Text dragged text Text
    Text dragged from a compatible
    app (e.g. EPM, GCJava)
    dragged text Text

    SYS2070 If you get SYS2070 crashes when trying to run Mozilla, this means that the wrong version of a DLL is being found. One of these solutions might help:
  • Remove IBM Web Browser from LIBPATH
  • You did not install properly (unzipped into an old directory)
  • You have another version running without using LIBPATHSTRICT
  • Timer problems If you are having trouble with multimedia applications that use OS/2's high resolution timer, you can set the Warpzilla browsers to not use it by setting the enviroment variable NSPR_OS2_NO_HIRES_TIMER=1
    Modifying Prefs The easiest way to modify preferences is from the about:config page; there is documentation for many of them. You may also want to check out Preferential, which gives you a tree of the options structure, along with explanations of the settings.

    If you choose to make changes directly to the preferences file (prefs.js), they should be done when Warpzilla is closed, or they will not be saved; it rewrites the file when it exits! You should also avoid using an editor that appends an EOF character (like E.EXE).
    As an alternative to modifying prefs.js, you can create a user.js file. This file is never modified by Mozilla, and overrides any settings in prefs.js

    Using Tabs You can navigate tabs with the keyboard by using Ctrl-PgUp and Ctrl-PgDn or Ctrl-Tab
    You can save a bookmark which will re-open all of the currently open browser tabs, by selecting Bookmark this Group of Tabs. You can even add or remove URLs from this group, as it is treated like a folder.

    In Firefox 2.0, every tab has a close button. If you wish to restore the old behavior, set "browser.tabs.closeButtons" to 3.

    Script Timeouts If you have problems with some Javascript taking too long and hogging CPU cycles, you can shorten the amount of time it takes for the "cancel script" dialog to appear. You can change the "dom.max_script_run_time" and "dom.max_chrome_script_run_time" values to the number of seconds you wish to allow before the dialog appears, where the first option is for scripts on web pages, and the second option is for scripts in the user interface (including extensions!).
    Bookmarks Firefox 3.0 switched to using a SQLite database for bookmarks, rather than the standard bookmarks.html file. With Firefox 3.5, it is possible to automatically import and export your bookmarks.html file at startup and shutdown, albeit with some minor caveats.
    SQLite SQLite databases, as used in Firefox 3.x, have a tendency to grow excessively large. You can use the SQLite Browser to "vacuum" (compact) the *.sqlite database files in your profile, while the browser is closed; this will improve runtime performance. The "Places" database can also be compacted within Firefox 3.5, using the Error Console. Another option is the UPSSV package.
    Splash Screen You can change the splash screen displayed when Seamonkey (pre-2.x) is loading, simply by placing a bitmap image as seamonkey.bmp in the program directory. Here is a nice blue Warpzilla logo.
    Icons If you don't like the icons in Mozilla 1.1 and above, you can change them by replacing the files in the chrome\icons directory. There are some icon packs available, but people have reported problems getting them to work in OS/2. Klaus Staedtler has created an icon package which uses the default icons, but is correctly scaled for OS/2.
    You can get icons for more windows by putting in icons with these filenames: commonDialog.ico, profileWindow.ico, and default.ico

    Phil Parker has created some Firebird icons based on the flame design found on the Firebird web site. With a little prodding, he also produced two more icons for us; one of the Firebird icon found on the Mozilla beta web site, and one found on a recent Stardock screenshot. Note that OS/2 icons are not viewable in Mozilla, save them to disk to see them! There are some Firefox icons on Hobbes as well.

    FavIcons Mozilla has a GUI-configurable option for "web site icons" but there is also a hidden option for favicon support (non-standard IE style), which defaults to off. To enable favicon support, use this option:
    user_pref("browser.chrome.favicons", true);

    You can also enable site icons in your bookmarks menu, by setting this option:
    user_pref("browser.chrome.load_toolbar_icons", 2);

    Cursors Builds based on the Mozilla 1.8 code and later feature support for CSS cursor styles. You can check out the feature on this sample page
    Throbbers You can change the throbber in Mozilla by creating a chrome\userChrome.css file in your profile. It should contain the following:
    #navigator-throbber
    {
    list-style-image : url("animthrob_single.gif") !important;
    }
    #navigator-throbber[busy="true"]
    {
    list-style-image : url("animthrob.gif") !important;
    }
    
    There is a nice throbber you can use from one of the Netscape builds. Just place the image files in your profile's chrome directory, along with userChrome.css
    Throbber URL You can also change the URL that the throbber goes to when clicked on:
    user_pref("browser.throbber.url","http://www.google.com/");
    user_pref("messenger.throbber.url","http://www.google.com/");
    user_pref("compose.throbber.url","http://www.google.com/");
    user_pref("addressbook.throbber.url","http://www.google.com/");
    New mail sounds To hear a WAV when you get mail, use this option:
    user_pref("system.sound._moz_mailbeep", "http://www.blah.com/nameof.wav");

    To use a local file, you must use a file:/// URL, not just a path name.
    Note that version 1.3b and above have a preference for this in Mail & Newsgroups -> Notifications.

    URL entry field If you want the URL entry field to act correctly (not highlight everything when you click on it), you can use this setting:
    user_pref("browser.urlbar.clickSelectsAll", false);
    User agent If you want to change the user agent reported by the browser, you can use this setting:
    user_pref("general.useragent.override", "Mozilla/4.61 [en] (OS/2; U)");

    You can also take a look at prefbar which has a menu of several options for this.

    Menu Movement If you don't like the mouse following the menus, you can add a delay to slow it down:
    user_pref("ui.submenuDelay", 7000);
    or stop it from happening:
    user_pref("ui.submenuDelay", -1);
    Spring-loaded folders Spring-loaded folders have been in Mozilla Mail & Newsgroups for some time. Simply attempt a Drag&Drop operation on a closed folder tree, hovering the mouse over the visible parent folder; the tree will drop open, allowing you to select the proper subfolder for filing the message. The "normal" behavior is for the folder tree to then remain open, but it is easy to enable the auto-close of such "sprung" folders with the following addition to prefs.js:
    user_pref("ui.treeCloseDelay", 1000);

    Other aspects of spring-loaded folders can also be tweaked; the defaults are:
    user_pref("ui.treeOpenDelay", 1000);
    user_pref("ui.treeLazyScrollDelay", 150);
    user_pref("ui.treeScrollDelay", 100);
    user_pref("ui.treeScrollLinesMax", 3);

    Reply header You can easily change the default reply header for mail and news messages to include the date of the original message, or anything else you would like it to have. user_pref("mailnews.reply_header_type", 2); is a nicer default; see Mozillazine for more options.
    Reply quoting Thunderbird 3.x and Seamonkey 2.x will quote just the selected portion of a message when you reply to it. You can disable this feature:
    user_pref("mailnews.reply_quoting_selection", false);
    Max Connections You can try increasing the maximum persistent connections per server; this reportedly can speed up page loading significantly on some sites.
    user_pref("network.http.max-persistent-connections-per-server", 8);
    Protocols It is now possible to define your own protocols, so that you can launch anything you want from Warpzilla. For instance, to edit your Config.Sys file in the EPM editor with the URL "epm:C:\Config.Sys" you would add these settings:
    user_pref("applications.epm", "c:\\os2\\apps\\epm.exe");
    user_pref("applications.epm.parameters", "%url%");

    Warpzilla now has the "telnet:" protocol built-in to os2pref.js, which runs telnetpm.

    IPv6 Mozilla will attempt to do IPv6 DNS lookups, even though OS/2 doesn't have an IPv6-aware stack. This should be automatically disabled by default in future versions, but meanwhile you can do so (may improve performance) with this setting:
    user_pref("network.dns.disableIPv6", true);
    Mailcap You can customize the MIME information used by Mozilla. A mime.types file maps the MIME types to file extensions, while the mailcap file specifies the helper applications to launch for a given MIME type. Add these lines:
    user_pref("helpers.global_mailcap_file", "X:\\HOME\\mailcap");
    user_pref("helpers.global_mime_types_file", "X:\\HOME\\mime.types");
    user_pref("helpers.private_mailcap_file", "X:\\HOME\\.mailcap");
    user_pref("helpers.private_mime_types_file", "X:\\HOME\\.mime.types");

    Then create the corresponding files. You can see an example mailcap file, which should give you the idea. You can find a comprehensive mime.types file with web server (Apache) or Linux distributions.
    Download Manager If you want to prevent the download manager from tracking your downloads, there are a few methods you can try. You can regularly delete the downloads.rdf file from your profile directory, or mark it read-only. The larger this file gets, the slower and less responsive Mozilla becomes when you try to download anything.
    Cookies Firefox 2.0 removed the option of only allowing cookies from the originating web site. You can restore this behavior with this setting:
    user_pref("network.cookie.cookieBehavior", 1);
    Link prefetching Mozilla 1.2b introduced a feature called link prefetching; this attempts to download web pages that are linked from the current one, in anticipation of you clicking on one of them. While this is normally useful, it may hog the network bandwidth from other applications. To disable it, you can use this:
    user_pref("network.prefetch-next", false);
    Note that version 1.3b and above have a preference for this in Advanced -> Cache.
    Mail notification There is an undocumented way to get a new mail indicator on WarpCenter, which is now hooked up to Mozilla as of version 1.1. You can configure it as follows:

    1. Create an icon on your desktop with an object ID of <CCINBOX>, using this REXX code:

    /* */
    call RxFuncAdd 'SysCreateObject', 'RexxUtil', 'SysCreateObject'
    result = SysCreateObject('WPProgram', 'Mozilla Mail', '<WP_DESKTOP>', 'OBJECTID=<CCINBOX>');
    
    Customize this object to open "mozilla -mail" with the appropriate path info.

    2. Add the mail icons to your WarpCenter; you need Resource Manager and NewMail.Zip. Unzip both of these files into a temporary directory, and make a copy of your \OS2\DLL\SCENTER.DLL there. To add the icons, run this command:

    resmgr -a scenter.dll scenter.res
    
    Now replace your \OS2\DLL\SCENTER.DLL with the one just created (I suggest using an unlock utility).

    3. Once you reboot, your Warpcenter should have a mail icon. There is a mailtest.exe application in NewMail.Zip, which can be used to test the functionality outside of Mozilla.

    If you want to customize the icons, edit mail.bmp or newmail.bmp, then run the resource compiler to recreate scenter.res.


    If you want to remove the new mail indicator in Warpcenter, delete the Mail icon in the Mozilla folder (or the one you created following the above instructions). Once you reboot, the extra button will be gone.
    Default apps There is support for using externally configured default applications for browser and email. You can use either the ConfigApps utility, or Internet Application Integration, which also includes the Run! utility and will configure it for you.
    External mail apps You can also specify an email program manually via these preferences:
    user_pref("applications.mailto", "X:\\path\\to\\mail_prog.cmd");
    user_pref("applications.mailto.parameters", "\"%url%\"");
    user_pref("network.protocol-handler.external.mailto", true);

    There is a REXX script for integrating PMMail with Mozilla and an executable version of similar function

    To have Firefox open Thunderbird when clicking on a mailto: link using the Run! utility, you can use these preferences:
    user_pref("applications.mailto", "X:\\path\\to\\thunderbird\\thunderbird!l.exe");
    user_pref("applications.mailto.parameters", "-compose");

    Running Multiple Versions Concurrently You can only run Firefox and Thunderbird at the same time if they are the same version (or more accurately, built from the same code), due to the way the OS/2 kernel loads DLLs. If you wish to run builds from different code levels, use Internet Application Integration.

    You can run multiple versions of Seamonkey (i.e. debug and release versions) at the same time, as long as you are careful. You must use different profiles for each version, and use Run! or a little script to start it (such as seamonkey.cmd):

      SET MOZ_NO_REMOTE=1
      SET LIBPATHSTRICT=T
      SET MOZILLA_HOME=<profile_path>
      SET PATH=<mozilla_directory>;%PATH%
      SET BEGINLIBPATH=<mozilla_directory>
      seamonkey.exe %1 %2 %3 %4 %5
    

    MOZ_NO_REMOTE=1 keeps Mozilla from creating the parent message window, so two Mozilla's can no longer detect that each other is running. LIBPATHSTRICT=T forces DLLs to be loaded from the correct place, instead of using what is already in memory (this feature requires a recent OS/2 kernel). These pre-made mozcall scripts may be useful. There is also a HOWTO describing how to set this up.

    Search Tip You can use the Bookmark Keyword feature to create a shortcut to your favorite search engine, for example, you could just type "imdb star wars" in the Location Bar to look up "Star Wars" on the Internet Movie Database. To do this:
    1. Make a search on your favorite search engine (in this example, IMDB).
    2. When results appear, bookmark the page.
    3. Go to Bookmark Manager. Select the bookmark and press Properties
    4. In the Location text box locate the terms you typed for the search and replace them with %s (for IMDB it will look like http://www.imdb.com/find?q=%s).
    5. Set the keyword to your preference (for example "imdb", without quotes)
    6. Now you can make searches from the location bar by just entering the keyword followed by the search terms!
    Addons addons.mozilla.org is a great resource for finding themes and extensions. Seamonkey 2.x features an add-ons manager like the one in Firefox, while Extension Manager works for 1.x. Note that you need to install both the Manager and the Uninstaller API.

    Flashblock allows you to have the Flash plugin installed without being constantly annoyed by Flash ads (or having the browser crash due to bugs in the plugin). You simply click on the "Play" icon for any Flash objects that you actually want to see.

    Preferences Toolbar adds a toolbar for quickly changing the settings for custom fonts and colours, images, and Javascript.

    mycroft is a list of search plugins for Mozilla, and instructions for writing your own (like a nice Hobbes search). There's also some FireFox search plugins for use with Google (images, news groups, and news), commTalk software archive, Leo German/English dictionary, and Hobbes.

    Bookmarklets are some nice little Javascript utilities for dealing with annoying web pages

    Form History Control gives you a nice interface to manage saved form field data.

    Problematic Extensions You can start Firefox (or Seamonkey 2.x) with all extensions disabled (and using the default theme) by using the "-safe-mode" command line parameter. Then you can uninstall any problematic extensions and/or themes.
    Corrupted Interface If there is something wrong with your user interface, there are a few things you can try.
  • Be sure you are using a theme that is included with Warpzilla, or one that is made specifically for the version you are running.
  • While the browser is closed, delete the xul.mfl file in your profile directory; it will be recreated, and you won't lose anything.
  • If it still doesn't work, chrome\chrome.rdf (both application and profile versions) may be corrupted. You can delete these files, and let Mozilla rebuild them. Note that you will need to reinstall any themes and extensions.
  • If you still have a corrupted interface, you probably tried to manually remove an addon without cleaning up the overlays.rdf files. Do some more manual editing, or start deleting more rdf files. Again, you will probably need to reinstall extensions.
  • Command line There is some documentation on the command line options.
    Docs There is a guide to Customizing Mozilla on Unix, much of which applies to all operating systems

    Henrik Gemal has put together a little guide to the standard files in your profile directory

    Other sites You may find other useful Mozilla information on http://www.holgermetzger.de/etips.html
    NLS Anyone interested in Mozilla in other languages may want to check out these links:
    Mozilla Localization Project and Mozilla International Projects


    This page is maintained by Steve Wendt.