No need to remove the URL tracking parameters manually. 🥳

Firefox copy link without site tracking

      • faintwhenfree@lemmus.org
        link
        fedilink
        English
        arrow-up
        47
        ·
        1 year ago

        Hmm, I agree with you 100%, but power of defaults is how big companies get average consumers. Maybe Firefox should make it default with a setting to turn it on?

        A setting titled “allow copying of tracking data”, a lot of people won’t allow.

        Fight fire with fire.

        • LufyCZ@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          8
          ·
          edit-2
          1 year ago

          This just:

          1. Encourages companies to try to work around it

          2. More importantly, possibly breaks important functionality

          • uis@lemmy.world
            link
            fedilink
            arrow-up
            13
            arrow-down
            1
            ·
            edit-2
            1 year ago

            It’s like saying GDPR encourages companies to try work around data protection, so it should not be implemented.

            • LufyCZ@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              It’s not like that at all.

              Links support parameters for a reason, and I promise you that the main reason isn’t tracking. They can convey important info like the language, search parameters, a specific comment, etc.

              Removing them willy-nilly by default is going to cause issue sooner or later, and then people are going to blame Firefox for “not working” and are just gonna switch to Chrome because “it just works”.

              That’s not what we want is it?

                • LufyCZ@lemmy.world
                  link
                  fedilink
                  arrow-up
                  4
                  ·
                  1 year ago

                  Yeah but the list is hardcoded. Collisions can happen.

                  Also, since it’s hardcoded, it’s easily gameable, and it will be gamed if too many people start filtering them out.

                  It’s a good start but a bad solution overall

      • theo@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        If you wanted to do this and make it default, I believe you should be able to do so using userChrome.css. You won’t be able to change the text, but you can remove the old menu item.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          I’m unlikely to use the menu button, I generally use Ctrl+C/Cmd+C. I’ll have to poke around and see if there’s an option to set that shortcut.

          • theo@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Correct me if I am wrong, but I don’t think you would be able to do this as ctrl+c copies what is highlighted rather than the actual link.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              I just want a shortcut for “copy without tracking” on the current tab instead of having to use the context menu. I’m fine with it not being “Ctrl+C,” as long as it’s reasonably easy to remember, like maybe “Ctrl+Shift+C” or even a sequence of commands (i.e. select address bar, then special copy command).

              Likewise, there should be an easy way to open a link without trackers, like “Ctrl+shift+click” or something.

    • HiramFromTheChi@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      31
      ·
      1 year ago

      Or at least the option to make it the default. I could see some situations where someone may want to test a link with non-identifying parameters (like identifying the campaign source), and not wanting to have that stripped from the URL by default.

      But I get you, from a consumer perspective I’d also want it as my default.

      In the meantime, there’s ClearURLs or uBlock Origin with filter lists.

    • Meldrik@lemmy.wtf
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Doesn’t it just clean up the link or does Firefox actually know which part of the link to remove?

    • corbin@infosec.pub
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      It’s not the default because it can break links sometimes, like links that have authentication details in the parameters.

    • bitwolf@lemmy.one
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      There’s an addon I use for the Android version that does this by default.

      It does miss some queryparams though but it dramatically reduces the URL size for the big offending sites.

    • akilou@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      But default is putting your cursor in the address bar and hitting ctrl-c. How would Firefox clean it like that?

      • Euphoma
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        If it removes the tracking from the link before the page loads, it could work. So it would already be clean when you copy it.

      • NotMyOldRedditName@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        On android anyway, that’s an interceptable action, and you can also monitor and alter the clipboard.

        So they could either alter what gets copied before its copied, or scan the copied item after it’d copied and alter it.