Add support for Iceape-UXP
Este commit está contenido en:
2
bootstrap.js
vendido
2
bootstrap.js
vendido
@@ -149,7 +149,7 @@ let menuitem = {
|
|||||||
m.style.listStyleImage = 'url("chrome://ca-archive/skin/button.png")';
|
m.style.listStyleImage = 'url("chrome://ca-archive/skin/button.png")';
|
||||||
|
|
||||||
let menu;
|
let menu;
|
||||||
if (Services.appinfo.name == "SeaMonkey") {
|
if (Services.appinfo.name == "SeaMonkey" || Services.appinfo.name == "Iceape-UXP") {
|
||||||
menu = $(doc, "taskPopup");
|
menu = $(doc, "taskPopup");
|
||||||
} else {
|
} else {
|
||||||
menu = $(doc, "menu_ToolsPopup");
|
menu = $(doc, "menu_ToolsPopup");
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ let Addon = {
|
|||||||
let appver;
|
let appver;
|
||||||
if (Services.appinfo.name == "Pale Moon") {
|
if (Services.appinfo.name == "Pale Moon") {
|
||||||
appver = "27.9";
|
appver = "27.9";
|
||||||
} else if (Services.appinfo.name != "SeaMonkey") {
|
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
|
||||||
appver = Services.appinfo.version;
|
appver = Services.appinfo.version;
|
||||||
}
|
}
|
||||||
data.downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
|
data.downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
|
||||||
@@ -434,4 +434,4 @@ let Addon = {
|
|||||||
</body>
|
</body>
|
||||||
</html>`,
|
</html>`,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ let List = {
|
|||||||
let appver;
|
let appver;
|
||||||
if (Services.appinfo.name == "Pale Moon") {
|
if (Services.appinfo.name == "Pale Moon") {
|
||||||
appver = "27.9";
|
appver = "27.9";
|
||||||
} else if (Services.appinfo.name != "SeaMonkey") {
|
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
|
||||||
appver = Services.appinfo.version;
|
appver = Services.appinfo.version;
|
||||||
}
|
}
|
||||||
if (appver && Services.vc.compare(dbQuery.row.min, appver) <= 0 && Services.vc.compare(appver, dbQuery.row.max) <= 0) {
|
if (appver && Services.vc.compare(dbQuery.row.min, appver) <= 0 && Services.vc.compare(appver, dbQuery.row.max) <= 0) {
|
||||||
@@ -336,4 +336,4 @@ let List = {
|
|||||||
</div>
|
</div>
|
||||||
</div>`
|
</div>`
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ let Versions = {
|
|||||||
let appver;
|
let appver;
|
||||||
if (Services.appinfo.name == "Pale Moon") {
|
if (Services.appinfo.name == "Pale Moon") {
|
||||||
appver = "27.9";
|
appver = "27.9";
|
||||||
} else if (Services.appinfo.name != "SeaMonkey") {
|
} else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") {
|
||||||
appver = Services.appinfo.version;
|
appver = Services.appinfo.version;
|
||||||
}
|
}
|
||||||
let downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
|
let downurl = "https://ca-archive.biz.tm/storage/" + Math.trunc(dbQuery.row.addon_id/1000) + "/" + dbQuery.row.addon_id + "/" + dbQuery.row.url.replace(/^\d+\/(.*)/,"$1") + "?origin=caa&action=";
|
||||||
@@ -216,4 +216,4 @@ let Versions = {
|
|||||||
</div>
|
</div>
|
||||||
</div>`
|
</div>`
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
BIN
file.xpi
Archivo normal
BIN
file.xpi
Archivo normal
Archivo binario no mostrado.
@@ -32,5 +32,13 @@
|
|||||||
<em:maxVersion>*</em:maxVersion>
|
<em:maxVersion>*</em:maxVersion>
|
||||||
</Description>
|
</Description>
|
||||||
</em:targetApplication>
|
</em:targetApplication>
|
||||||
|
<!-- Iceape-UXP -->
|
||||||
|
<em:targetApplication>
|
||||||
|
<Description>
|
||||||
|
<em:id>{9184b6fe-4a5c-484d-8b4b-efbfccbfb514}</em:id>
|
||||||
|
<em:minVersion>52.0</em:minVersion>
|
||||||
|
<em:maxVersion>52.*</em:maxVersion>
|
||||||
|
</Description>
|
||||||
|
</em:targetApplication>
|
||||||
</Description>
|
</Description>
|
||||||
</RDF>
|
</RDF>
|
||||||
|
|||||||
@@ -30,6 +30,15 @@
|
|||||||
<em:updateLink>https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi</em:updateLink>
|
<em:updateLink>https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi</em:updateLink>
|
||||||
</RDF:Description>
|
</RDF:Description>
|
||||||
</em:targetApplication>
|
</em:targetApplication>
|
||||||
|
<!-- Iceape-UXP -->
|
||||||
|
<em:targetApplication>
|
||||||
|
<RDF:Description>
|
||||||
|
<em:id>{9184b6fe-4a5c-484d-8b4b-efbfccbfb514}</em:id>
|
||||||
|
<em:minVersion>52.0</em:minVersion>
|
||||||
|
<em:maxVersion>52.*</em:maxVersion>
|
||||||
|
<em:updateLink>https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi</em:updateLink>
|
||||||
|
</RDF:Description>
|
||||||
|
</em:targetApplication>
|
||||||
</RDF:Description>
|
</RDF:Description>
|
||||||
</RDF:li>
|
</RDF:li>
|
||||||
</RDF:Seq>
|
</RDF:Seq>
|
||||||
|
|||||||
Referencia en una nueva incidencia
Block a user