Hacker News new | ask | show | jobs
by BryanB55 5056 days ago
I hate when people disable pasting in password fields. Some of my passwords are 50 character random strings stored in 1password and sometimes I need to copy/paste and can not do it (ahem, icloud). I usually end up disabling javascript if the page still renders without javascript.
1 comments

Assuming you're on Linux, you can just pipe the input into "xargs xdotool type". Thanks to the keyboard abstraction in X, no program will ever be able to tell that you didn't just type that on a keyboard.
Unfortunately, xdotool type is schizophrenic with multiple keyboard layouts

http://code.google.com/p/semicomplete/issues/detail?id=13

An admittedly obscure corner case.

(Though I'm not defending the X keyboard API. Linux input is a nightmare. I especially like the hard-coded list of keys in the kernel, limiting the number of unique keys that any userspace application can address, even though it's perfectly possible to plug in 128 keyboards each with several hundred keys.)

Or just click the password field -> Menu [Edit] -> [Paste]
If you are on linux, chances are you can just middle-click.