3 ms·
I once had to open up my developer console and manually set the field with JavaScript because they didn't want me pasting into the password field. Although the
by Hamuko 5y ago
I once had to open up my developer console and manually set the field with JavaScript because they didn't want me pasting into the password field. Although the site was also all kinds of broken so it might have actually been an accident that pasting into the field didn't work.
- WorldMaker 5y agoI do this on quite a few sites. Most of the easy ones have an easy to find onpaste event wired in the DOM and it's a simple delete. I feel like there are so few legitimate uses of onpaste and the browser should have an easy override that if I ctrl+v three times in quick succession or something like that it ignores or disables onpaste events. Alternatively, my password manager does have a decent "autotype" tool when all else fails.
- Hamuko 5y agoI find it easier just to select the DOM element for the field and do $0.value = "asd"; instead of finding the onpaste event.
- WorldMaker 5y agoWhen the onpaste is easy to spot it's one key (Delete) after selecting that attribute or event versus a minimum of around 14 give or take keys depending on how good your console autocompletion is. When it is not easy to find, yeah I next try just setting the DOM value.