Closed ghost closed 1 year ago
I think that the reason I originally decided not to ignore zero-size input fields was Google. Their login page changed however, it’s the usual awkward two-step login now. So maybe it’s time to revisit this decision.
I improved the way hidden fields are detected, hopefully this works.
I regularly run into a login page that contains the following code where the user name fails to be filled in. Password is filled in, however.
I have cleaned up the code and removed 4 additional "hidden" elements from this example, as they were just repetitions of the first two, except for the id attribute suffix ending in
_2
/_3
. This works for reproducing the issue.Applying this rule via Stylus (or an ad blocker) works around the issue with PfP:
(I don't want to share the exact site name, but given that this is an off-the-shelf system, the issue would probably affect a larger population, on different domains/subdomains.)