No need to remove the URL tracking parameters manually. 🥳

Firefox copy link without site tracking

    • 👍Maximum Derek👍
      link
      fedilink
      1577 months ago

      Or a setting that makes it the default.

      I don’t like any software I use to destroy data (even tracking data) without my say so.

      • @faintwhenfree@lemmus.org
        link
        fedilink
        English
        477 months 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
          3
          edit-2
          7 months ago

          This just:

          1. Encourages companies to try to work around it

          2. More importantly, possibly breaks important functionality

          • @uis@lemmy.world
            link
            fedilink
            12
            edit-2
            7 months 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
              37 months 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
                  37 months 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
        57 months 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.

          • @theo@lemmy.world
            link
            fedilink
            27 months 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
              2
              edit-2
              7 months 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.

    • HiramFromTheChiOP
      link
      fedilink
      English
      307 months 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
      link
      fedilink
      77 months ago

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

        • Meldrik
          link
          fedilink
          37 months ago

          How does it know what part of the link is the site tracking?

          • bitwolf
            link
            27 months ago

            Generally, most are variables prefixed with utm_

            They likely built an index from most of the Analytics services also.

          • @DogMuffins@discuss.tchncs.de
            link
            fedilink
            English
            27 months ago

            I think it’s a combination of things, a basic approach of removing the query string (after the question mark) with exceptions for different sites that might need some of the query string.

    • @corbin@infosec.pub
      link
      fedilink
      67 months ago

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

    • bitwolf
      link
      5
      edit-2
      7 months 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
      47 months ago

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

      • @Euphoma@lemmy.ml
        link
        fedilink
        English
        5
        edit-2
        7 months 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
        2
        edit-2
        7 months 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.