Skip to content

Commit

Permalink
Revert "Restore support for Gecko 45-50 based browsers "
Browse files Browse the repository at this point in the history
This reverts commit 92f7e4d.

Also adjusted minimum versions to Firefox 51 level. We're using scriptlets and redirectable script resources that won't run on older versions at this point.
  • Loading branch information
UCyborg committed Apr 10, 2024
1 parent aca9325 commit bbc16e7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Firefox legacy

Compatible with Firefox 44-56, [Pale Moon](https://www.palemoon.org/) and [SeaMonkey](http://www.seamonkey-project.org/).
Compatible with Firefox 51-56, [Pale Moon](https://www.palemoon.org/) and [SeaMonkey](http://www.seamonkey-project.org/).

- Download `ublock0.firefox-legacy.xpi` ([latest release desirable](https://github.com/UCyborg/uBlock-for-firefox-legacy/releases)).
- Right-click and select "Save Link As..."
Expand Down
8 changes: 4 additions & 4 deletions dist/update/update.template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{{ec8030f7-c20a-464f-9b0e-13a3a9e97384}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-{0}/uBlock0_{0}.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -19,7 +19,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{{aa3c5121-dab2-40e2-81ca-7ea25febc110}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-{0}/uBlock0_{0}.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -28,7 +28,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}}</em:id>
<em:minVersion>2.46</em:minVersion>
<em:minVersion>2.48</em:minVersion>
<em:maxVersion>2.53.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-{0}/uBlock0_{0}.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -46,7 +46,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{{3550f703-e582-4d05-9a08-453d09bdfdc6}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-{0}/uBlock0_{0}.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand Down
8 changes: 4 additions & 4 deletions dist/update/update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-1.16.4.30/uBlock0_1.16.4.30.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -19,7 +19,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{aa3c5121-dab2-40e2-81ca-7ea25febc110}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-1.16.4.30/uBlock0_1.16.4.30.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -28,7 +28,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
<em:minVersion>2.46</em:minVersion>
<em:minVersion>2.48</em:minVersion>
<em:maxVersion>2.53.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-1.16.4.30/uBlock0_1.16.4.30.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand All @@ -46,7 +46,7 @@
<em:targetApplication>
<RDF:Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
<em:updateLink>https://github.com/UCyborg/uBlock-for-firefox-legacy/releases/download/firefox-legacy-1.16.4.30/uBlock0_1.16.4.30.firefox-legacy.xpi</em:updateLink>
</RDF:Description>
Expand Down
8 changes: 4 additions & 4 deletions platform/firefox/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<em:targetApplication>
<Description>
<em:id>{{ec8030f7-c20a-464f-9b0e-13a3a9e97384}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
</Description>
</em:targetApplication>
Expand All @@ -30,7 +30,7 @@
<em:targetApplication>
<Description>
<em:id>{{aa3c5121-dab2-40e2-81ca-7ea25febc110}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
</Description>
</em:targetApplication>
Expand All @@ -39,7 +39,7 @@
<em:targetApplication>
<Description>
<em:id>{{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}}</em:id>
<em:minVersion>2.46</em:minVersion>
<em:minVersion>2.48</em:minVersion>
<em:maxVersion>2.53.*</em:maxVersion>
</Description>
</em:targetApplication>
Expand All @@ -57,7 +57,7 @@
<em:targetApplication>
<Description>
<em:id>{{3550f703-e582-4d05-9a08-453d09bdfdc6}}</em:id>
<em:minVersion>45.0</em:minVersion>
<em:minVersion>51.0</em:minVersion>
<em:maxVersion>52.*</em:maxVersion>
</Description>
</em:targetApplication>
Expand Down
2 changes: 1 addition & 1 deletion src/js/codemirror/search-thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if (
};

const cancelPendingTasks = function() {
for ( let resolver of pendingResponses.values() ) {
for ( const resolver of pendingResponses.values() ) {
resolver();
}
pendingResponses.clear();
Expand Down
4 changes: 2 additions & 2 deletions src/js/codemirror/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
this.dirty = true;
this.lines = [];
cm.on('changes', (cm, changes) => {
for ( let change of changes ) {
for ( const change of changes ) {
if ( change.text.length !== 0 || change.removed !== 0 ) {
this.dirty = true;
break;
Expand Down Expand Up @@ -295,7 +295,7 @@
const annotations = [];
let lineBeg = -1;
let lineEnd = -1;
for ( let line of lines ) {
for ( const line of lines ) {
if ( lineBeg === -1 ) {
lineBeg = line;
lineEnd = line + 1;
Expand Down

0 comments on commit bbc16e7

Please sign in to comment.