Fix dynamic password input detection when replacing usename

This commit is contained in:
varjolintu 2026-03-06 21:58:24 +02:00
parent 64fda92e27
commit 09adf5d3f5

View file

@ -124,9 +124,10 @@ kpxcSites.combinationExceptionFound = function(existingCombination) {
return false;
}
// Exception for e.g. Google. They replace the username input with password input using identical className.
// Exception for Google. They replace the username input with password input using identical className.
// If detected, remove the username from the combination.
if (existingCombination?.username?.className?.length > 0
if (document.location.origin === 'https://accounts.google.com'
&& existingCombination?.username?.className?.length > 0
&& existingCombination?.password?.className?.length > 0
&& existingCombination?.username?.className === existingCombination?.password?.className) {
return true;