this post was submitted on 09 Sep 2024
590 points (99.5% liked)

Programmer Humor

19623 readers
507 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Edit: @Successful_[email protected] solved it. It says "one special character". Not "at least one".

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 90 points 2 months ago (3 children)

Their desktop site is even more shitty. It won't allow right click or paste actions. There goes compatibility with password managers.

[–] [email protected] 58 points 2 months ago (1 children)

Bitwarden has a function where it types in (not pastes) the password and shows the prompt for it without right-click.

[–] [email protected] 17 points 2 months ago (2 children)

And even if theres an app for Windows (https://github.com/jlaundry/TypeClipboard) that can type it for you and even has a shortcut.
I am sure someone in the linux world knows an equivalent tool.
We use it at work to paste long passwords when remoting in.

[–] [email protected] 3 points 2 months ago

On Mac you can use Hammerspoon and just create a shortcut to hs.eventtap.keyStrokes(hs.pasteboard.getContents())

[–] [email protected] 1 points 2 months ago

Nice find, thanks for sharing.

For Macs (only Macs, I believe), there is StopTheMadness, which, uh well, stops the madness (test page here for some examples it can re-enable).

[–] [email protected] 38 points 2 months ago (3 children)

As a super secret dev hack may I introduce you to shift + insert a fair few sites specifically block ctrl + v instead of properly disabling the clipboard action and, of course, if you read this and then submit a Jira ticket to block shift + insert... well... h8u

[–] [email protected] 21 points 2 months ago

You can also drag the password in from another text field instead of pasting

[–] [email protected] 14 points 2 months ago (1 children)

I usually to in the developer tools and manually disable the thing preventing the paste action. It's usually a string to remove some JS or something or an Event that you need to uncheck

[–] [email protected] 18 points 2 months ago (1 children)

If you're opening up the dev tools you can also paste your string directly into <input value="" /> unless something weird is going on.

[–] [email protected] 0 points 2 months ago

*Laughs in blazor*

[–] [email protected] 6 points 2 months ago

Aah.. I completely forgot about that. Will try next time. Also yesterday I saw Shift + F10 will show the context menu. Yet to test it on this site.

[–] [email protected] 17 points 2 months ago

Any password manager should be able to "type in" the password. Or be a browser plugin that doesn't rely on copy pasting, but use other mechanisms to inject it directly into the field.

But yes, if that's their online portal, I am not kidding I would change banks.