diff --git a/_locales/en/messages.json b/_locales/en/messages.json index c1afc23a..dc967957 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -183,6 +183,13 @@ "message": "Open color picker", "description": "Tooltip for the colored squares shown before CSS colors in the style editor." }, + "configOnChange": { + "message": "on change", + "description": "VERY SHORT label for the checkbox in style config dialog after the save button - when enabled the changes in the dialog are saved and applied automatically without the need to press the Save button" + }, + "configOnChangeTooltip": { + "message": "Autosave and apply changes automatically" + }, "dysfunctional": { "message": "Stylus cannot function in private windows because Firefox disallows direct connection to the internal background page context of the extension.", "description": "Displayed in Firefox when its settings make Stylus dysfunctional" 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/edit.html b/edit.html index a1a712ce..c1966108 100644 --- a/edit.html +++ b/edit.html @@ -312,7 +312,7 @@
- -