Add fidelity.com to Predefined Sites

This commit is contained in:
varjolintu 2020-11-03 12:47:03 +02:00
parent e4bd2bd0f5
commit 7ee83ede26
3 changed files with 12 additions and 5 deletions

View file

@ -36,7 +36,8 @@ const PREDEFINED_SITELIST = [
'https://signin.ebay.in/*',
'https://signin.ebay.ph/*',
'https://login.yahoo.com/*',
'https://id.atlassian.com/*'
'https://id.atlassian.com/*',
'https://www.fidelity.com/*'
];
const kpxcSites = {};
@ -52,13 +53,15 @@ kpxcSites.exceptionFound = function(classList) {
return;
}
// Apple ID
if (document.location.origin === 'https://idmsa.apple.com'
&& [ 'password', 'form-row', 'show-password' ].every(c => classList.contains(c))) {
return true;
} else if (document.location.origin.startsWith('https://signin.ebay.com')
&& classList.contains('null')) {
return true;
} else if (document.location.origin.startsWith('https://www.fidelity.com')
&& classList.contains('fs-mask-username')) {
return true;
}
return false;

View file

@ -1494,6 +1494,10 @@ kpxcObserverHelper.getInputs = function(target, ignoreVisibility = false) {
}
});
if (target.nodeName === 'INPUT') {
inputFields.push(target);
}
// Append any input fields in Shadow DOM
if (target.shadowRoot) {
target.shadowSelectorAll('input').forEach(e => {
@ -1604,7 +1608,7 @@ kpxcObserverHelper.ignoredElement = function(target) {
// Also ignore few Youtube-specific custom nodeNames
kpxcObserverHelper.ignoredNode = function(target) {
if (!target
||kpxcObserverHelper.ignoredNodeTypes.some(e => e === target.nodeType)
|| kpxcObserverHelper.ignoredNodeTypes.some(e => e === target.nodeType)
|| kpxcObserverHelper.ignoredNodeNames.some(e => e === target.nodeName)
|| target.nodeName.startsWith('YTMUSIC')
|| target.nodeName.startsWith('YT-')) {

View file

@ -1,8 +1,8 @@
{
"manifest_version": 2,
"name": "KeePassXC-Browser",
"version": "1.7.2",
"version_name": "1.7.2",
"version": "1.7.3",
"version_name": "1.7.3",
"description": "__MSG_extensionDescription__",
"author": "KeePassXC Team",
"icons": {