diff --git a/background/usercss-helper.js b/background/usercss-helper.js
index 4d5a4be9..a114e9c5 100644
--- a/background/usercss-helper.js
+++ b/background/usercss-helper.js
@@ -78,8 +78,8 @@ var usercssHelper = (() => {
);
}
- function openInstallPage(tab, {url = tab.url, direct} = {}) {
- if (direct) {
+ function openInstallPage(tab, {url = tab.url, direct, downloaded} = {}) {
+ if (direct && !downloaded) {
prefetchCodeForInstallation(tab.id, url);
}
return wrapReject(openURL({
diff --git a/install-usercss.html b/install-usercss.html
index 24affbf9..ea900b20 100644
--- a/install-usercss.html
+++ b/install-usercss.html
@@ -64,6 +64,7 @@
+