The latest version of
FoxClocks, version 4.2.3, runs fine on Pale Moon 25 to Pale Moon 27. Yet, this add-on is shown as incompatible to Pale Moon at AMO (e.g. "Not available for Firefox 27.9"). This add-on also can not be installed, by Pale Moon, based on the same incompatibility claims.
- FoxClocks-4.2.3 on Pale Moon 27
To install and run this add-on in PM25 to PM27, only a simple change to the add-on's install.rdf file is required. This change to install.rdf does not need to be done at AMO. In fact, this change to install.rdf doesn't fully solve the problem, if only done at AMO. But instead, the change must be made by Pale Moon, and the resulting FoxClocks xpi file also hosted at Pale Moon add-ons. The simple required change, to the FoxClocks install.rdf file, consists of adding the following 8 lines to FoxClocks install.rdf. The FoxClocks GUID should not be changed; the name of the add-on also should not be changed.
Code: Select all
<!-- Pale Moon -->
<em:targetApplication>
<Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>25.0</em:minVersion>
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
After adding this FoxClocks version 4.2.3 to APO,
FoxClocks (Pseudo-Static) should be deleted from APO.
Mozilla has already done something similar, numerous times at AMO (that is, changed an add-on's install.rdf file and xpi file). For example, line 8 of install.rdf for foxclocks-3.4.14 appears to have been
Changed from:
Changed to:
Code: Select all
<em:version>3.4.14.1-signed</em:version>
At the same time as the change to install.rdf, a new folder ("META-INF"), containing 3 files, was also added to the foxclocks-3.4.14 xpi file.
The FoxClocks author has already made his add-on compatible with Pale Moon (in bootstrap.js beginning at line 42):
Code: Select all
'{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}': { // Pale Moon
overlay: { 'chrome://browser/content/browser.xul': 'chrome://foxclocks/content/foxclocksoverlay.xul' },
stylesheets:{ 'chrome://global/content/customizeToolbar.xul': ['chrome://foxclocks/skin/foxclocks.css'] }
}
So, adding Pale Moon as a target application and then hosting FoxClocks version 4.2.3 at APO-- these two simple steps appear to be the only remaining to-do's. Following is a FoxClocks xpi file with the required install.rdf changes: