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:
-rw-r--r--keepassxc-browser/common/sites.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/keepassxc-browser/common/sites.js b/keepassxc-browser/common/sites.js
index 55635f0..f6c42f2 100644
--- a/keepassxc-browser/common/sites.js
+++ b/keepassxc-browser/common/sites.js
@@ -10,6 +10,7 @@ const PREDEFINED_SITELIST = [
'https://login.live.com/*',
'https://odc.officeapps.live.com/*',
'https://login.microsoftonline.com/*',
+ 'https://login.microsoftonline.us/*',
'https://www.amazon.ae/ap/*',
'https://www.amazon.ca/ap/*',
'https://www.amazon.cn/ap/*',
@@ -193,6 +194,18 @@ kpxcSites.formSubmitButtonExceptionFound = function(form) {
if (button) {
return button;
}
+ } else if (
+ [
+ 'outlook.live.com',
+ 'login.live.com',
+ 'odc.officeapps.live.com',
+ 'login.microsoftonline.com',
+ 'login.microsoftonline.us',
+ ].some(u => form.action.includes(u))) {
+ const buttons = Array.from(form.querySelectorAll(kpxcForm.formButtonQuery));
+ if (buttons && buttons.length > 1) {
+ return buttons[1];
+ }
}
return undefined;