diff --git a/download.html b/download.html
index eb3edc5..19775fa 100644
--- a/download.html
+++ b/download.html
@@ -49,19 +49,30 @@
Fetching latest...
- Download for Chrome
-
+ Download Portage (.crx)
+
-
Loaded as an unpacked extension. Data swap APIs are fully supported.
+
Enable Developer mode, then drag the .crx onto the extensions page.
-
+
- - Unzip the downloaded
portage_chrome.zip file.
- Navigate to
chrome://extensions in your URL bar.
- Enable Developer mode in the top right corner.
- - Click Load unpacked and select the unzipped folder.
+ - Drag and drop the downloaded
.crx file onto the page.
+ - Click Add extension to confirm.
+
+
+ Developer install (unpacked source)
+
+ - Download the unpacked
.zip using the button below.
+ - Unzip it somewhere you'll remember.
+ - Navigate to
chrome://extensions and enable Developer mode.
+ - Click Load unpacked and select the unzipped folder.
+
+ Download unpacked (.zip)
+
@@ -78,7 +89,6 @@
Download Portage (.xpi)
- Download unsigned (.zip)
@@ -94,12 +104,13 @@
Developer install (unsigned source)
- - Download the unsigned
.zip using the button above.
+ - Download the unsigned
.zip using the button below.
- Unzip it somewhere you'll remember.
- Navigate to
about:debugging#/runtime/this-firefox.
- Click Load Temporary Add-on... and select
manifest.json from the unzipped folder.
Temporary add-ons are removed when Firefox restarts.
+ Download unsigned (.zip)
@@ -147,12 +158,16 @@
const tag = data.tag_name || "Latest";
let chromeUrl = data.html_url;
+ let chromeZipUrl = data.html_url;
let firefoxXpiUrl = data.html_url;
let firefoxZipUrl = data.html_url;
if (data.assets && data.assets.length > 0) {
- const cAsset = data.assets.find(a => a.name === "portage_chrome.zip");
- if (cAsset) chromeUrl = cAsset.browser_download_url;
+ const crxAsset = data.assets.find(a => a.name.endsWith(".crx"));
+ if (crxAsset) chromeUrl = crxAsset.browser_download_url;
+
+ const cZipAsset = data.assets.find(a => a.name === "portage_chrome.zip");
+ if (cZipAsset) chromeZipUrl = cZipAsset.browser_download_url;
const xpiAsset = data.assets.find(a => a.name.endsWith(".xpi"));
if (xpiAsset) firefoxXpiUrl = xpiAsset.browser_download_url;
@@ -164,6 +179,7 @@
verChrome.textContent = tag;
verFirefox.textContent = tag;
btnChrome.href = chromeUrl;
+ document.getElementById("btn-chrome-zip").href = chromeZipUrl;
btnFirefox.href = firefoxXpiUrl;
btnFirefoxZip.href = firefoxZipUrl;