Zero logo

Portable browser

The core component of The Uniform Server ZeroXIII portable browser plugin (ZeroXIII_palemoon_26_3_3.exe) is the Portable Pale Moon browser. This is an optimised version of Firefox. It eliminates some features that most users don’t use reducing bloat. It is fully compatible with Firefox while being noticeably faster to load and to respond. In addition all Firefox add-ons work as is. Installing this module transforms The Uniform Zero XIII into a fully portable server with the benefit of a full-featured browser.

This page provides information on the user configuration user.ini and how to manually upgrade Pale Moon.

Background

Choosing a portable web browser for Uniform Server’s portable browser module was not an easy task. There are some very capable potable browsers for example Google Chrome, Firefox, Maxthon, Midori, Opera, Pale Moon, PocketFlock, PocketKMeleon, QTWeb and TOR Browser Bundle to mention a few.

To narrow the choice most popular browsers listed in preference are Chrome, Firefox, Internet Explorer, Safari and Opera. The choice is between Chrome and Firefox. Size is especially important for use on a USB memory stick however installed size for Chrome and Firefox is 76MB and 77MB respectively, no significant difference.

Currently Chrome Portable digital certificate storage uses Windows, so any certificates it installs are saved in the local copy of Windows and they'll be accessible from that particular machine. Google Chrome Portable installs local files hence is not truly portable.

Final choice is between Portable Firefox and Pale Moon (Optimized verion of Firefox) size is significant 77MB and 68MB respectively. With the exception of compiled plugins Pale Moon is fully compatible with all of Firefox extensions. Size alone was not the deciding factor for choosing Portable Pale Moon the following list features that elevated it above Portable Firefox.

  • Size 10% smaller foot-print.
  • Optimized resulting in speed increase
  • Easier to pre-configure advantage for Uniform Server Zero
  • Upgrade to newer version of Pale Moon – Minimum user effort.
  • Redundant functionality removed – reduces bloat

Configuration file User.ini

The Uniform Server ZeroXIII portable browser module was designed to have a minimum impact on the Pale Moon core component. Interestingly the module is just a re-package of Pale Moon with a User.ini configuration file. Clearly this demonstrates the flexibility of Pale Moon architecture.

The User.ini configuration file is a copy of Palemoon-Portable.ini with modifications allowing Pale Moon to run seamlessly with Uniform Server ZeroXIII.

Modifications:

Shown on the right are extracts from User.ini configuration file highlighting the modification required for Uniform Server.

First two modifications enable the use of a PAC file for resolving domain names.
Path to the PAC file (C:\UniServerZ\home\us_pac\proxy.pac) is saved to an environment variable US_PAC that Pale Moon picks-up. Unicontroller sets US_PAC variable to match the server location hence is fully portable.

Third modification forces the browser to use a blank page at start-up.

Fourth modification disables session store resume, we are not worried about this.

Last modification is to disable the Pale Moon splash screen. Its cosmetic and not required for Uniform Server.

User.ini:
; ========================================
; 		** User preferences **
; ========================================

;(1 US- Enable proxy to use PAC file)
network.proxy.type=2

;(2 US- Set PAC file either url or path defined by environment variable US_PAC )
network.proxy.autoconfig_url=%US_PAC%|"/

;(3 US- Start-up page blank)
browser.startup.page=0

;(4 US- Start-up unable to restore last session)
browser.sessionstore.resume_from_crash=false

; ========================================
; 		** Global preferences **
; ========================================

[Options]
DeleteTemp=true
MultipleInstances=true
RunWait=true
;ShowSplash=true
;(5 US- No splash screen)
ShowSplash=false
WriteLog=false

Manually upgrade Pale Moon

If a newer version of Pale Moon Portable is released before the Uniform Server zero XIII plugin is updated you can manually upgrade as follows.

Note: Only use official binaries from http://www.palemoon.org/ see their section on illegal redistributions. Using official binaries tightens security by preventing viruses and malware which unofficial version may contain.

  1. With the exception of file User.ini delete all files and folders in C:\UniServerZ\core\palemoon
  2. Download the latest (32-bit) version of Pale Moon Portable from http://www.palemoon.org/
    • Current version: Palemoon-Portable-26.3.3.exe
    • Save to folder: C:\UniServerZ\core\palemoon
  3. Extract contents of the downloaded file:
    • Navigate to folder C:\UniServerZ\core\palemoon
    • Double click file Palemoon-Portable-26.3.3.exe
    • This runs the 7-Zip self-extracting archive. No need to change the default path. Click Extract button.
  4. If you wish to save space, delete the installation file Palemoon-Portable-26.3.3.exe, it is no longer required.
  5. Create a user profile:
    • First time Palemoon-Portable.exe is run a user profile is created.
      This process is automatic, to start the process double click on file Palemoon-Portable.exe and wait for it to complete.
    • Note: It takes a relatively long time, on completion the browser is opened. You can set personal preferences as required.
    • Note: Preferences required by UniServer have been pre-configured in the User.ini configuration file.
      When you have finished close the bowser.
      The browser is now ready to run from UniController as and when required.

User configuration file

After an upgrade there are two configuration files Palemoon-Portable.ini and User.ini located in folder C:\UniServerZ\core\palemoon

The User.ini file is a modified copy of Palemoon-Portable.ini
Note: The user configuration is used instead of Palemoon-Portable.ini which, can be deleted to save space.

Between releases of Pale Moon there may be minor changes to Palemoon-Portable.ini, before deleting this file check for differences between Palemoon-Portable.ini and User.ini add changes to the User.ini file. Uniform Server modifications are shown above in section Configuration file User.ini


--oOo--