Open augustseptember opened 6 years ago
If you add a space, and remove it, does it work then?
Yes, that works
I looked into this because I also looked into the failed auto-fill on a horrible horrible login page of a polish healthcare provider.
The easy solution for netflix is to remove the "submit" event listener on the form.
$("form").removeEventListener("submit", getEventListeners($("form"))["submit"][0].listener)
I didn't look into the event listener further but tried inserting a char via js events to find a more general method to fix this, which might also help on other sites.
But a KeyboardEvent
or InputEvent
can not be used to insert into an input field (anymore ?).
There is a isTrusted
flag which differentiates between a real Keyboard event and any created one.
I don't see a general solution that could be added to findForm.js or anywhere to fix this and not break other websites.
What is the general idea to deal with horrible broken websites in this plugin? Is it somehow possible to run custom javascript on a given website just like we can add custom fields? This would at least enable private fixes :)