• madcaesar@lemmy.world
    link
    fedilink
    English
    arrow-up
    87
    ·
    16 hours ago

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

  • Ech@lemm.ee
    link
    fedilink
    English
    arrow-up
    66
    ·
    18 hours 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.

  • TriflingToad@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    39
    ·
    edit-2
    10 hours 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.

  • LostXOR@fedia.io
    link
    fedilink
    arrow-up
    73
    ·
    22 hours 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
        76
        arrow-down
        2
        ·
        21 hours 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
          3
          ·
          8 hours 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.

        • slazer2au@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          18 hours ago

          Auto type doesn’t rely on password fields classification. Auto fill does

          In KeypassXC you click on the field where you want the password to be entered, then click into the password manager and do auto type.
          KeypassXC will then minimise and type the password for you.

          I do this a lot when replacing 20+ character passwords in remote desktop sessions.

          • BluesF@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            15 hours ago

            You just gave me a hideous flashback to the bitlocker carnage a while ago, and having to type in what felt like an endless stream of characters that some poor sod in IT was reading me over the phone, probably for the 100th time that day.

      • LostXOR@fedia.io
        link
        fedilink
        arrow-up
        4
        ·
        21 hours ago

        It does, but (as far as I know) not for putting a newly generated password into a signup field.

    • cm0002@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      4
      ·
      22 hours ago

      Even with CTRL+V? 99% of the time when I encounter this they only block right click, but CTRL+V will work for…reasons

      • LostXOR@fedia.io
        link
        fedilink
        arrow-up
        17
        ·
        22 hours ago

        Yep, even Ctrl+V didn’t work. I guess I shouldn’t be surprised considering it’s a government site (the signup for federal student aid).

  • yetAnotherUser@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    57
    ·
    22 hours 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.
    • Xylight@lemm.ee
      link
      fedilink
      English
      arrow-up
      16
      ·
      20 hours ago

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

    • naeap@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      17
      ·
      22 hours 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?

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        13
        ·
        22 hours 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.

      • psivchaz@reddthat.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        22 hours 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.

    • ilinamorato@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      22 hours 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.

  • Sterile_Technique@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    18 hours 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.

    • hactar42@lemmy.ml
      link
      fedilink
      English
      arrow-up
      19
      ·
      16 hours 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.

      • BenLeMan@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        That sounds right up my alley because another pet peeve of mine is when they block me from opening an image in a new tab via the right click menu. My eyes aren’t what they used to be and I need to ZOOM sometimes.

    • stom@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 hours 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.

      • Sterile_Technique@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours 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!!

    • Whats_your_reasoning@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours 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.

      • Sterile_Technique@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours 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.

  • villainy@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    21 hours 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.

  • cm0002@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    22 hours 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?

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      ·
      19 hours 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.

  • lemmydividebyzero@reddthat.com
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    18 hours 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…

    • Mrfiddles@feddit.nl
      link
      fedilink
      English
      arrow-up
      5
      ·
      15 hours ago

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

  • Maggoty@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    18 hours ago

    Just not allowing the clipboard is a legitimate security measure though. A lot of apps can read that memory space, so it’s kind of a security black hole.l

  • essteeyou@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours 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.