Skip to content

Commit

Permalink
Add support for Interlink
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Dec 18, 2019
1 parent 5aefd0d commit a84970e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ var httpObserver = {
subject.QueryInterface(Ci.nsIHttpChannel);
if ((subject.URI.host == "addons.palemoon.org" ||
subject.URI.host == "addons.basilisk-browser.org" ||
subject.URI.host == "interlink-addons.binaryoutcast.com" ||
subject.URI.host == "versioncheck.addons.mozilla.org" ||
subject.URI.host == "versioncheck-bg.addons.mozilla.org")
&& subject.URI.path.indexOf("&id=" + u0id +"&") != -1) {
Expand Down
7 changes: 7 additions & 0 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,12 @@
<em:maxVersion>*</em:maxVersion>
</Description>
</em:targetApplication>
<em:targetApplication>
<Description>
<em:id>{a3210b97-8e8a-4737-9aa0-aa0e607640b9}</em:id>
<em:minVersion>1.0.0a1</em:minVersion>
<em:maxVersion>1.*</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>
8 changes: 8 additions & 0 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
<em:updateLink>https://github.com/JustOff/ublock0-updater/releases/download/1.6.7/ublock0-updater-1.6.7.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
<em:targetApplication>
<RDF:Description>
<em:id>{a3210b97-8e8a-4737-9aa0-aa0e607640b9}</em:id>
<em:minVersion>1.0.0a1</em:minVersion>
<em:maxVersion>1.*</em:maxVersion>
<em:updateLink>https://github.com/JustOff/ublock0-updater/releases/download/1.6.7/ublock0-updater-1.6.7.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
</RDF:Description>
</RDF:li>
</RDF:Seq>
Expand Down

0 comments on commit a84970e

Please sign in to comment.