diff --git a/bootstrap.js b/bootstrap.js index 4f4d589..0e85b16 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -149,7 +149,7 @@ let menuitem = { m.style.listStyleImage = 'url("chrome://ca-archive/skin/button.png")'; let menu; - if (Services.appinfo.name == "SeaMonkey") { + if (Services.appinfo.name == "SeaMonkey" || Services.appinfo.name == "Iceape-UXP") { menu = $(doc, "taskPopup"); } else { menu = $(doc, "menu_ToolsPopup"); diff --git a/content/addon.js b/content/addon.js index 4f2448b..295d488 100644 --- a/content/addon.js +++ b/content/addon.js @@ -108,7 +108,7 @@ let Addon = { let appver; if (Services.appinfo.name == "Pale Moon") { appver = "27.9"; - } else if (Services.appinfo.name != "SeaMonkey") { + } else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") { 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="; @@ -434,4 +434,4 @@ let Addon = { `, -}; \ No newline at end of file +}; diff --git a/content/list.js b/content/list.js index 744f552..82c1a01 100644 --- a/content/list.js +++ b/content/list.js @@ -182,7 +182,7 @@ let List = { let appver; if (Services.appinfo.name == "Pale Moon") { appver = "27.9"; - } else if (Services.appinfo.name != "SeaMonkey") { + } else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") { appver = Services.appinfo.version; } if (appver && Services.vc.compare(dbQuery.row.min, appver) <= 0 && Services.vc.compare(appver, dbQuery.row.max) <= 0) { @@ -336,4 +336,4 @@ let List = { ` -}; \ No newline at end of file +}; diff --git a/content/versions.js b/content/versions.js index 6449cf4..a094d4b 100644 --- a/content/versions.js +++ b/content/versions.js @@ -110,7 +110,7 @@ let Versions = { let appver; if (Services.appinfo.name == "Pale Moon") { appver = "27.9"; - } else if (Services.appinfo.name != "SeaMonkey") { + } else if (Services.appinfo.name != "SeaMonkey" && Services.appinfo.name != "Iceape-UXP") { 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="; @@ -216,4 +216,4 @@ let Versions = { ` -}; \ No newline at end of file +}; diff --git a/file.xpi b/file.xpi new file mode 100644 index 0000000..02d5c45 Binary files /dev/null and b/file.xpi differ diff --git a/install.rdf b/install.rdf index 8376189..b346c60 100644 --- a/install.rdf +++ b/install.rdf @@ -32,5 +32,13 @@ * + + + + {9184b6fe-4a5c-484d-8b4b-efbfccbfb514} + 52.0 + 52.* + + diff --git a/update.xml b/update.xml index 62d0062..7381a71 100644 --- a/update.xml +++ b/update.xml @@ -30,6 +30,15 @@ https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi + + + + {9184b6fe-4a5c-484d-8b4b-efbfccbfb514} + 52.0 + 52.* + https://github.com/JustOff/ca-archive/releases/download/2.0.1/ca-archive-2.0.1.xpi + +