News for hackers. Stuff that matters.
Re:Having trouble with the IRS site? Try all caps by RonanTheGrey on Wednesday April 29, 2020 @02:29AM (#23016066)
Firefox's "Don't Fuck with Paste" extension is a lifesaver. It disables all the event handlers on the page and the input that prevent pasting. Kind of a sledgehammer but when you're pasting someone's 26-digit account number, I mean.. you don't want to copy that by hand.

Plus I use Bitwarden, which auto-fills the boxes so I don't need to paste passwords at least.

Re:Having trouble with the IRS site? Try all caps by lstamour on Wednesday April 29, 2020 @03:27AM (#23016399)
I wish I could say this 2014 article was completely out of date, but while some folks have updated, far too many sites still haven’t: https://www.troyhunt.com/the-cobra-effect-that-is-disabling/

If you’re writing a little JS snippet to “fix” this, https://gist.github.com/nuxero/6dda1287ccfb91999e9f8c42d7246... or https://gist.github.com/SukkaW/26dc57f3bf3d7f17a89763dcd9f7d... might also help.

It should be possible to add this to iOS using the Shortcuts app. https://support.apple.com/en-us/guide/shortcuts/apd218e2187d... Though... I’m not entirely sure you can block pasting in Safari on iOS. I can’t say I’ve noticed it there, perhaps the native keyboard password manager integration avoids it.

Re:Having trouble with the IRS site? Try all caps by aspenmayer on Wednesday April 29, 2020 @09:50AM (#23019146)
I recently had a broken phone screen and had to find a password entry workaround. On iOS pasting in fields that show the iOS keyboard seems to always be enabled, but rotation of the keyboard in landscape mode is disabled on some password entry fields for some reason. A quick workaround is the notes app for a quick copy paste and the calculator app for numbers if needed, although I wish there was a way to toggle comma separation in the iOS calculator.
Re:Having trouble with the IRS site? Try all caps by Merad on Wednesday April 29, 2020 @08:27AM (#23018254)
You don't need an extension for this, you can go into about:config and flip dom.event.clipboardevents.enabled to false.
Re:Having trouble with the IRS site? Try all caps by snazz on Wednesday April 29, 2020 @09:04AM (#23018603)
Doesn't that disable other clipboard events, though? There are quite a few other sites that I want to be able to use copy/paste events correctly.
Re:Having trouble with the IRS site? Try all caps by jjeaff on Wednesday April 29, 2020 @11:27AM (#23020372)
Ya, anytime a site uses a contenteditable element, they usually need to listen for paste content and do things like stripping html tags and whatnot. Basically any wysywig style editor like a Facebook post.
Re:Having trouble with the IRS site? Try all caps by nfriedly on Wednesday April 29, 2020 @11:50AM (#23020630)