diff --git a/background/usercss-helper.js b/background/usercss-helper.js index acdb663b..5dd09d59 100644 --- a/background/usercss-helper.js +++ b/background/usercss-helper.js @@ -98,7 +98,7 @@ var usercssHelper = (function () { function openInstallPage(tabId, request) { // FIXME: openURL doesn't reuse old page? - const url = '/install-usercss/install-usercss.html' + + const url = '/install-usercss.html' + '?updateUrl=' + encodeURIComponent(request.updateUrl) + '&tabId=' + tabId; const pending = openURL({url}) diff --git a/install-usercss/install-usercss.html b/install-usercss.html similarity index 96% rename from install-usercss/install-usercss.html rename to install-usercss.html index 65cdf144..b04f9be0 100644 --- a/install-usercss/install-usercss.html +++ b/install-usercss.html @@ -5,7 +5,7 @@ Loading... - + @@ -79,6 +79,6 @@ - + \ No newline at end of file