• madcaesar@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

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

    • irish_link@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 month 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.

      • lseif@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month 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!

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month 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.

      • renzev@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        30 days ago

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

      • MonkderVierte@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 month 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.

      • explodicle@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        30 days ago

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

  • Ech@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Can we get the same thing for when they hijack the back button to send you to some other promotional bs? I can’t stand that.

  • yetAnotherUser@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month 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.
  • LostXOR@fedia.io
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    I ran into this just the other day, a site wouldn’t let me paste my password into the “confirm password” field when signing up. Had to resort to editing the HTML properties because there’s no way I’m manually typing in my long-ass randomly generated password.

      • herrvogel@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        I’ve seen password managers fail to detect password fields because the frontend devs thought whatever stupid piece of React crap they vomited from their keyboards was better than using standard html fields for their intended purpose. It’s not very common, but it happens. Credit card fields are also a big mess for the same reason. Half the time bitwarden’s best guess at auto filling those results in some absolute soup that makes no sense.

        I’d also like to take this opportunity to send my warmest, most sincerest fuck yous to all the UX designers who think it’s a good idea to fuck with navigation. Don’t prevent me from opening shit in a new tab. Don’t just scroll the page up to the previous h1 when I try to go back. Who the hell do you think you are?

        • undefined@lemmy.hogru.ch
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          I’m a developer that doesn’t fuck with the fields! ✨ I can’t stand JavaScript-based validation either, I use HTML attributes for basic pre-submit validation then do the actual validation on the backend.

          I can’t stand the fucked up forms either.

              • tomcatt360@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                30 days ago

                Yeah, it wasn’t a good way to convey what I meant. I meant to say that I approve of what [email protected] is doing, but that I didn’t see (at the time) how what they were saying contributed to our discussion of our shared dislike of bad UX. At the time, it felt self aggrandizing. But I see that my pre-work self was off the mark. My apologies.

                • undefined@lemmy.hogru.ch
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  29 days ago

                  Honestly I was irritated at first, but I’ve been known to be a jerk anyway. It’s all good; honestly going back to my comment I was thinking to myself “well good for you” too.

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month 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.

      • undefined@lemmy.hogru.ch
        link
        fedilink
        English
        arrow-up
        1
        ·
        30 days 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.

  • JakenVeina@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    30 days ago

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

  • Honytawk@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    30 days ago

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

    Does it have any use? Like at all?

  • TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    Don’t fuck with copy too, my schools e-textbook thing won’t let you copy text when quoting it for an essay.

    Edit: I appreciate the help but this is on a school laptop, we can’t install anything nor open inspect element. Also I already found a workaround by cntrl+c-ing before I lift the left click and it goes to highlight mode.