diff --git a/popup/search-results.js b/popup/search-results.js index 13b19d53..ab05596b 100755 --- a/popup/search-results.js +++ b/popup/search-results.js @@ -406,6 +406,11 @@ window.addEventListener('showStyles:done', function _() { // Fetch .JSON style searchAPI.fetchStyleJson(result) .then(userstyleJson => { + userstyleJson.reason = 'install'; + if (result.style_settings.length) { + // this will make the popup show a config-on-homepage icon + userstyleJson.updateUrl += '?'; + } // Install style saveStyleSafe(userstyleJson) .then(savedStyle => {