• @[email protected]
    link
    fedilink
    English
    1255 months ago

    OMFG what asshole came up with the idea of blocking paste for fields? Whoever you are, get FUCKED

    • @[email protected]
      link
      fedilink
      English
      835 months ago

      “bUt ItS a SeCuRiTy RiSk.” Yeah maybe when most people were keeping their passwords in a spreadsheet. However now that they are all encrypted in password management programs its a vulnerability. If I can’t generate a 40+ char password for your site then I will not be using your site if I can help it.

      • JackbyDev
        link
        fedilink
        English
        65 months ago

        I don’t even think that’s what they were trying to stop, I think they just believe people making bots would only paste.

      • @[email protected]
        link
        fedilink
        English
        285 months ago

        you are correct that most people dont keep their passwords in spreadsheets. a lot of people prefer a plaintext file on their desktop, or a note in their phones!

      • @[email protected]
        link
        fedilink
        English
        4
        edit-2
        5 months ago

        Those same people think that colorblind people don’t exist and there’s no accessibility reason to select text. 😡

      • @[email protected]
        link
        fedilink
        English
        125 months ago

        Or even better: the ones that add bullshit like “–Copied from shitheads.xyz” to all copied text

      • @[email protected]
        link
        fedilink
        English
        9
        edit-2
        5 months ago

        In mst cases it’s a simple css property.

        Btw, can webdevs please stop reimplementing scroll via js? Always a slow and buggy mess.

  • @[email protected]
    link
    fedilink
    English
    185 months ago

    Does this work with any text on page (vs just inputs)?

    Currently dealing with several digital textbooks - that I fucking purchased - from Elsevier that disable copy functions, which makes pulling chunks of text from a page to take notes a pain in the ass. I’ve resorted to just using the snipit tool to capture tiny screenshots of the text I want, but that’s ofc significantly less ideal than just highlighting text and hitting Ctrl+C.

      • @[email protected]
        link
        fedilink
        English
        25 months ago

        Okay that actually sounds pretty amazing… but I can’t get it to work. Win+shift+T seems to just cycle through the icons pinned in my taskbar. I’ll do some googling to see if I can figure out why that is, but if you know a quick fix, then yes please!!

    • @[email protected]
      link
      fedilink
      English
      215 months ago

      There is a Firefox extension called Absolute Enable Right Click & Copy that works great for a lot sites that block you from being able to copy.

    • @[email protected]
      link
      fedilink
      English
      15 months ago

      I just thought of a possible bypass. Maybe a phone’s “scan document” function can help with that? Provided that the text is clear, you may be able to scan a webpage and save it as a scanned document. Then open the doc on your phone (or other device), and you should be able to highlight and copy the scanned text.

      Okay, maybe not. I tested it with this very page and although the copied text got the gist, I still would’ve had to go back and edit things. But eh, YMMV. It could be a valid work-around for somebody, just with different text or using a different device.

      • @[email protected]
        link
        fedilink
        English
        25 months ago

        Usually I just leave them as little image blocks of text cuz ain’t nobody got time for dat. When I actually do want to fully convert it (usually only bother if I’m sending something out to the class), then I’ll save the whole doc as a PDF and then run it through an optical character recognition service like this one. There are ways, they just suck when a feature like copy exists.

    • Lilium (She/Her)
      link
      fedilink
      English
      15 months ago

      I find that pressing Ctrl+C while highlighting the text (still holding left click) works, at least with Cengage

    • @[email protected]
      link
      fedilink
      English
      25 months ago

      ShareX has an OCR feature. It’s a tool for taking screenshots and recordings, with support for configurable workflows which can do all sorts, including extract text from the snipped area and copy it to the clipboard.

  • @[email protected]
    link
    fedilink
    English
    255 months ago

    Now give me a “Don’t Fuck With Back” extension.

    I’m guessing it’s all from the same ad network but I’ve noticed an uptick in the number of sites hijacking the back button to show more ads. Even the Associated Press site has been doing it and it drives me crazy.

    • flicker
      link
      fedilink
      English
      25 months ago

      Yessss I nees this even more than don’t fuck with paste!

  • @[email protected]
    link
    fedilink
    English
    95 months ago

    Bigger question is, why do browsers have this feature in the first place?

    Does it have any use? Like at all?

    • Meowing Thing
      link
      fedilink
      English
      45 months ago

      Some sites think this will preserve their copyright or like to add some ads that whatever you copied came from site whatever.com

  • @[email protected]
    link
    fedilink
    English
    45 months ago

    Can confirm. Use this one myself. Because of course my bank considers pasting into the password field to be a security risk.

      • @[email protected]
        link
        fedilink
        English
        125 months ago

        I’m talking about websites that won’t let you use autofill. Why do I have to type in my email address when I have it saved in my autofill

  • Lad
    link
    fedilink
    English
    165 months ago

    I like addons that get straight to the point with their names

  • @[email protected]
    link
    fedilink
    English
    55 months ago

    I made a website to test your typing speed and I felt dirty disabling pasting, but that feels like an actual good use-case.

  • @[email protected]
    link
    fedilink
    English
    655 months ago
    1. You can change that setting in your about:config by setting dom.event.clipboardevents.enabled to false.
    2. This sadly prevents pasting (T)OTPs for websites that choose to have 6 separate input fields. You have to enter these codes manually.
    • @[email protected]
      link
      fedilink
      English
      95 months ago

      Disabling clipboardevents entirely disables the clipboard API, meaning that single-click copy operations won’t work.

      Maybe you’re fine with that, but it’s worth noting.

    • @[email protected]
      link
      fedilink
      English
      4
      edit-2
      5 months ago

      pasting (T)OTPs for websites that choose to have 6 separate input fields

      Possibly a job for “insert text by typing” in a program like Keyboard Maestro on macOS.

      Edit: baller app, it is:

    • @[email protected]
      link
      fedilink
      English
      185 months ago

      Do you know if this add-on does pretty much the same thing and with that will also have the regression regarding (T)OTP input fields?

      • @[email protected]
        link
        fedilink
        English
        145 months ago

        I have a partial answer. The add-on has different modes for different degrees of bypassing. I’m sure the complete bypass would break it, but not sure about intermediate options.

      • @[email protected]
        link
        fedilink
        English
        95 months ago

        I can confirm that it has not appeared to affect the functionality of those sites for me. Although… There are some sites with multiple fields that don’t work and some that do, I’ve just assumed that the sites which don’t work were down to poor code.

    • Xylight
      link
      fedilink
      English
      195 months ago

      why the hell do websites even have those 6 separate input fields? you can just have one and style it differently

    • @[email protected]
      link
      fedilink
      English
      195 months ago

      California DMV requires a bank routing and account number instead of a credit card, but doesn’t allow you to copy and paste it from your bank website. You have to type out the 20+ digits and if you get any of them wrong a cop pulls you over and potentially murders you.

      • Cousin Mose
        link
        fedilink
        English
        25 months ago

        I’ve never understood the rationale for this. You want users to type in all the digits themselves? I’d rather someone copy and paste it if I were going for accuracy.

  • @[email protected]
    link
    fedilink
    English
    8
    edit-2
    5 months ago

    I had used a website that changed the max length of passwords, but ignored, that existing ones might already have been longer… I overcame the client side validation, but the server side validated it, too…

    • @[email protected]
      link
      fedilink
      English
      65 months ago

      Good that the backend validated it, but why in god’s name would you ever lower the maximum password length?!?

  • @[email protected]
    link
    fedilink
    English
    315 months ago

    There’s a special place in hell for whoever started that blocking paste shit, right next to the popup ad guy.

    Also, does anyone know of an Android Xposed/Magisk Module that does the same thing?

      • @[email protected]
        link
        fedilink
        English
        15 months ago

        Yea, but that’s not system wide so apps and stuff that route you to say a webpage for login with the internal browser will still fuck with copy and paste

    • partial_accumen
      link
      fedilink
      English
      45 months ago

      There’s a special place in hell for whoever started that blocking paste shit, right next to the popup ad guy.

      …and the guy that came up with the <blink> HTML tag.