That sounds fun on mobile
Comment on NIST proposes barring some of the most nonsensical password rules
dsilverz@thelemmy.club 1 month agoI circumvent that by right-clicking, then choosing “Inspect element”, then switching to the tab “Console”, then typing $0.value = “TheValueIWantToPaste”. If right-clicking is also disabled, I use either F12 or Tools menu > DevTools.
trolololol@lemmy.world 1 month ago
sugar_in_your_tea@sh.itjust.works 1 month ago
Or just delete the “readonly” bit. I did that on Treasury Direct for years until they finally removed that nonsense.
dsilverz@thelemmy.club 1 month ago
Sometimes it’s not “readonly”, but a Javascript thing that “event.preventDefault()” and “return false” during the “onpaste” event. As the event is generally set using elm.addEventListener instead of setting elm.onpaste, it’s not possible to remove the listener, as it’d need the reference for the handler function that was set to handle the mentioned JS event. So simply setting the value directly using elm.value bypasses the onpaste event.
sugar_in_your_tea@sh.itjust.works 1 month ago
That’s fair, not sure why they’d go through that much effort when DOM attributes exist.
GreenKnight23@lemmy.world 1 month ago
that’s so easy! /s
fosho@lemmy.ca 1 month ago
easier than typing out a long string
xthexder@l.sw0.com 1 month ago
And here I wrote an AutoHotKey script to type out my clipboard a character at a time so I can paste stuff into this remote desktop software I’m using that doesn’t support paste…
It’s kinda necessary when the server’s unlock password is 256 characters long and completely random.
GreenKnight23@lemmy.world 1 month ago
if it’s citrix you used to be able to modify the local connection config file to allow access to the clipboard regardless of what the server allowed.
been a few years since I needed to do it, but it was possible at one time.