Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'keepassxc-browser/options/options.js')
-rw-r--r--keepassxc-browser/options/options.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/keepassxc-browser/options/options.js b/keepassxc-browser/options/options.js
index 79deb08..b2abfed 100644
--- a/keepassxc-browser/options/options.js
+++ b/keepassxc-browser/options/options.js
@@ -243,6 +243,18 @@ options.initGeneralSettings = function() {
const copyText = document.getElementById('versionInfo').innerText;
navigator.clipboard.writeText(copyText);
});
+
+ // Add predefined sites to the <details> list
+ const siteListing = $('#predefinedSiteList');
+ if (siteListing) {
+ // From sites.js
+ for (const site of PREDEFINED_SITELIST) {
+ const elem = document.createElement('span');
+ elem.textContent = site;
+ siteListing.append(document.createElement('br'));
+ siteListing.append(elem);
+ }
+ }
};
options.showKeePassXCVersions = function(response) {