Re:Millions of stolen Last.fm passwords have been decrypted....
by LeoPanthera on Friday September 02, 2016 @07:32PM
(#12416952)
> some such sites intentionally break pasting into the password field
You can fix that with a bookmarklet to re-enable pasting.
var inputs = document.getElementsByTagName('input');
for (var i=0; i < inputs.length; i++) {
if (inputs[i].getAttribute('type').toLowerCase() === 'password') {
inputs[i].setAttribute('onpaste', '');
}
}
(Tested with desktop Safari, no idea about other browsers.)
Worse yet, some such sites intentionally break pasting into the password field, making it a pain to paste in a randomly generated password.