Hacker News new | ask | show | jobs
by the_pwner224 1099 days ago
It's easier to ctrl-shift-c to pick the element in the inspector, then paste into the value="" HTML in the developer tools.

Also useful on treasurydirect.gov which has a ridiculous password entry field. They make an on-screen "keyboard" with a bunch of JS buttons, you have to click those buttons to enter your password. You can't type into the password field or paste into it.

4 comments

When I saw that treasury login form with the onscreen keyboard you had to click, I was absolutely flabbergasted. Thankfully they've now done away with it.
usually it isn't necessary to disable all JS, but right-click and inspect will show the text input has an attribute like `onPaste="() => return false"` which can just be changed to true instead. or just remove the attribute. I'm on my phone so the syntax may be slightly wrong but that's the gist.
>It's easier to ctrl-shift-c to pick the element in the inspector, then paste into the value="" HTML in the developer tools.

I use "Happy Right-Click" firefox addon for this. Just click the addon icon located on the address bar and voila.

In France a lot of bank websites have this on screen keyboard.

I assumed it's against keyloggers.