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:
authorvarjolintu <sami.vanttinen@protonmail.com>2020-06-21 13:54:05 +0300
committervarjolintu <sami.vanttinen@protonmail.com>2020-06-21 13:54:05 +0300
commitf49b0bcd9eb4c7f47b8a69aa7e5dda271f17e61f (patch)
treec8f177a4ad634a7f6b546bd28684b191ba0dd336 /keepassxc-browser
parentd518662696a7965477039f161a2bb4e10137b0e9 (diff)
Add wildcard to the ignored URL
Diffstat (limited to 'keepassxc-browser')
-rw-r--r--keepassxc-browser/content/banner.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/keepassxc-browser/content/banner.js b/keepassxc-browser/content/banner.js
index 9c45c8b..0cf3b0d 100644
--- a/keepassxc-browser/content/banner.js
+++ b/keepassxc-browser/content/banner.js
@@ -107,7 +107,8 @@ kpxcBanner.create = async function(credentials = {}) {
kpxcBanner.banner.removeChild(dialog);
} else {
if (ignoreCheckbox.checked) {
- kpxc.ignoreSite([ window.top.location.href ]);
+ const ignoreUrl = window.location.href.slice(0, window.location.href.lastIndexOf('/') + 1) + '*';
+ kpxc.ignoreSite([ ignoreUrl ]);
}
kpxcBanner.destroy();
}