Skip to content

Commit

Permalink
Target: SeaMonkey 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RealityRipple committed Dec 16, 2021
1 parent 2a1eac4 commit afe7a60
Show file tree
Hide file tree
Showing 28 changed files with 15 additions and 3,235 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
Replace your error page with a more stylish appearance with additional features.

#### Supports
* Pale Moon [25.0a1pre - 29.*]
* Firefox [1.5 - 50.*]
* SeaMonkey [2.0a1 - 2.*]
* Fennec [2.0a1 - 40.*]
* Firefox for Android [10.0a1 - 56.*]
* AdBlock Browser [1.0 - 1.3.2]

## Building
Simply download the contents of the repository and pack the contents (sans git data) into a .zip file. Then, rename the file to .xpi and drag into the browser.
Expand Down
23 changes: 3 additions & 20 deletions chrome.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@ locale fierr tr chrome/locale/tr/
locale fierr uk chrome/locale/uk/
locale fierr uk-UA chrome/locale/uk-UA/
locale fierr zh-CN chrome/locale/zh-CN/
skin fierr skin chrome/b-skin/ application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>50
skin fierr skin chrome/skin/ application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion<=50
skin fierr skin chrome/pale-skin/ application={8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}
skin fierr skin chrome/fen-skin/ application={a23983c0-fd0e-11dc-95ff-0800200c9a66} appversion<11.0a1
skin fierr skin chrome/skin/ application={a23983c0-fd0e-11dc-95ff-0800200c9a66} appversion>=11.0a1
skin fierr skin chrome/skin/ application={aa3c5121-dab2-40e2-81ca-7ea25febc110}
skin fierr skin chrome/ab-skin/ application={55aba3ac-94d3-41a8-9e25-5c21fe874539}
skin fierr skin chrome/sea-skin/ application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrB.xhtml application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>50
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrFF.xhtml application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion<=50
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrPM.xhtml application={8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrFN.xhtml application={a23983c0-fd0e-11dc-95ff-0800200c9a66} appversion<11.0a1
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrAN.xhtml application={a23983c0-fd0e-11dc-95ff-0800200c9a66} appversion>=11.0a1
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrAN.xhtml application={aa3c5121-dab2-40e2-81ca-7ea25febc110} appversion<29.0a1
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrAN2.xhtml application={aa3c5121-dab2-40e2-81ca-7ea25febc110} appversion>=29.0a1
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrAB.xhtml application={55aba3ac-94d3-41a8-9e25-5c21fe874539}
override chrome://global/content/netError.xhtml chrome://fierr/content/netErrSM.xhtml application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
overlay chrome://browser/content/browser.xul chrome://fierr/content/fierrFF.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
overlay chrome://browser/content/browser.xul chrome://fierr/content/fierrFF.xul application={8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}
overlay chrome://navigator/content/navigator.xul chrome://fierr/content/fierrSM.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
skin fierr skin chrome/skin/
override chrome://global/content/netError.xhtml chrome://fierr/content/netErr.xhtml
overlay chrome://navigator/content/navigator.xul chrome://fierr/content/fierr.xul
Binary file removed chrome/ab-skin/logo.png
Binary file not shown.
Binary file removed chrome/ab-skin/logo64.png
Binary file not shown.
Binary file removed chrome/b-skin/logo.png
Binary file not shown.
Binary file removed chrome/b-skin/logo64.png
Binary file not shown.
22 changes: 11 additions & 11 deletions chrome/content/fierrSM.js → chrome/content/fierr.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
var Fierr_SM =
var Fierr =
{
_sURL: '',
_timer: Components.classes['@mozilla.org/timer;1'].createInstance(Components.interfaces.nsITimer),
Listen: function()
{
window.removeEventListener('load', Fierr_SM.Listen, false);
gBrowser.addProgressListener(Fierr_SM.Listener);
window.removeEventListener('load', Fierr.Listen, false);
gBrowser.addProgressListener(Fierr.Listener);
},
_URL: function(winLoc)
{
if (winLoc.substr(0,17) === 'http://go.online/')
{
if (Fierr_SM._sURL === decodeURIComponent(winLoc.substr(17)))
if (Fierr._sURL === decodeURIComponent(winLoc.substr(17)))
return;
toggleOfflineStatus();
Fierr_SM._sURL = decodeURIComponent(winLoc.substr(17));
Fierr_SM._timer.init(Fierr_SM.event, 500, Components.interfaces.nsITimer.TYPE_ONE_SHOT);
Fierr._sURL = decodeURIComponent(winLoc.substr(17));
Fierr._timer.init(Fierr.event, 500, Components.interfaces.nsITimer.TYPE_ONE_SHOT);
}
},
event:
{
observe: function(subject, topic, data)
{
window.content.location.href = Fierr_SM._sURL;
Fierr_SM._sURL = '';
Fierr_SM._timer.cancel();
window.content.location.href = Fierr._sURL;
Fierr._sURL = '';
Fierr._timer.cancel();
}
},
Listener:
Expand All @@ -40,7 +40,7 @@ var Fierr_SM =
onLocationChange: function(aProgress, aRequest, aURI)
{
if (aURI != null)
Fierr_SM._URL(aURI.spec);
Fierr._URL(aURI.spec);
},
onStateChange: function() {},
onProgressChange: function() {},
Expand All @@ -49,4 +49,4 @@ var Fierr_SM =
onLinkIconAvailable: function() {}
}
};
window.addEventListener('load', Fierr_SM.Listen, false);
window.addEventListener('load', Fierr.Listen, false);
2 changes: 1 addition & 1 deletion chrome/content/fierrFF.xul → chrome/content/fierr.xul
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<overlay id="fierrOverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://fierr/content/fierrFF.js"/>
<script type="application/x-javascript" src="chrome://fierr/content/fierr.js"/>
</overlay>
52 changes: 0 additions & 52 deletions chrome/content/fierrFF.js

This file was deleted.

4 changes: 0 additions & 4 deletions chrome/content/fierrSM.xul

This file was deleted.

File renamed without changes.
426 changes: 0 additions & 426 deletions chrome/content/netErrAB.xhtml

This file was deleted.

442 changes: 0 additions & 442 deletions chrome/content/netErrAN.xhtml

This file was deleted.

426 changes: 0 additions & 426 deletions chrome/content/netErrAN2.xhtml

This file was deleted.

443 changes: 0 additions & 443 deletions chrome/content/netErrB.xhtml

This file was deleted.

443 changes: 0 additions & 443 deletions chrome/content/netErrFF.xhtml

This file was deleted.

440 changes: 0 additions & 440 deletions chrome/content/netErrFN.xhtml

This file was deleted.

482 changes: 0 additions & 482 deletions chrome/content/netErrPM.xhtml

This file was deleted.

Binary file removed chrome/fen-skin/logo.png
Binary file not shown.
Binary file removed chrome/fen-skin/logo64.png
Binary file not shown.
Binary file removed chrome/pale-skin/logo.png
Binary file not shown.
Binary file removed chrome/pale-skin/logo64.png
Binary file not shown.
Binary file removed chrome/sea-skin/logo.png
Binary file not shown.
Binary file removed chrome/sea-skin/logo64.png
Binary file not shown.
Binary file modified chrome/skin/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified chrome/skin/logo64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 0 additions & 40 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,6 @@
<em:id>{AF1AD85E-20B4-517C-9A93-B3E51B6EB86F}</em:id>
<em:version>2.6</em:version>
<em:type>2</em:type>
<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>50.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Fennec -->
<em:targetApplication>
<Description>
<em:id>{a23983c0-fd0e-11dc-95ff-0800200c9a66}</em:id>
<em:minVersion>2.0a1</em:minVersion>
<em:maxVersion>40.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Android -->
<em:targetApplication>
<Description>
<em:id>{aa3c5121-dab2-40e2-81ca-7ea25febc110}</em:id>
<em:minVersion>10.0a1</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- AdBlock -->
<em:targetApplication>
<Description>
<em:id>{55aba3ac-94d3-41a8-9e25-5c21fe874539}</em:id>
<em:minVersion>1.0</em:minVersion>
<em:maxVersion>1.0</em:maxVersion>
</Description>
</em:targetApplication>
<!-- SeaMonkey -->
<em:targetApplication>
<Description>
Expand All @@ -45,14 +13,6 @@
<em:maxVersion>2.*</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Pale Moon -->
<em:targetApplication>
<Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>25.0a1pre</em:minVersion>
<em:maxVersion>29.*</em:maxVersion>
</Description>
</em:targetApplication>
<em:description>Replaces the error page with a more stylish appearance with additional features.</em:description>
<em:homepageURL>https://realityripple.com/Software/Mozilla-Extensions/Fierr/</em:homepageURL>
<em:updateURL>https://realityripple.com/Software/Mozilla-Extensions/Fierr/update.rdf</em:updateURL>
Expand Down

0 comments on commit afe7a60

Please sign in to comment.