YtA4QCam2A9j7EfTgHrH,

They should make this the default.

meldrik,
@meldrik@lemmy.wtf avatar

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

DogMuffins,

What do you mean?

meldrik,
@meldrik@lemmy.wtf avatar

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

DogMuffins,

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.

Blackmist,

Looks like it has a list of global and site specific parameters that it is safe to remove.

bitwolf,

Generally, most are variables prefixed with utm_

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

akilou,

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

NotMyOldRedditName,

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.

Euphoma,

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.

DogMuffins,

It doesn’t.

If you think about it though, you’ve already visited that link so why clean it now.

akilou,

So the person you send it to gets a clean link

Bishma,
@Bishma@discuss.tchncs.de avatar

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,

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,

This just:

  1. Encourages companies to try to work around it
  2. More importantly, possibly breaks important functionality
uis,
@uis@lemmy.world avatar

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

LufyCZ,

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?

uis,
@uis@lemmy.world avatar

As I understand now it removes only limited set of query strings

LufyCZ,

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

uis,
@uis@lemmy.world avatar

“utm_” collisions?

LufyCZ,

The trackers can be renamed to anything that’s regularly used in other places.

Pushing to make this a default will only harm the small minority that might be enjoying the benefits right now.

At least with the current way it’s set up.

Contend6248,

Opt-out then, the majority won’t care

theo,

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,

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,

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,

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,
@hiramfromthechi@lemmy.world avatar

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.

bitwolf, (edited )

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.

deezbutts,

What is it?

bitwolf,
corbin,

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

verysoft,

There's also the ClearURLs add-on.

hiramfromthechi,
@hiramfromthechi@lemmy.world avatar

Or uBlock Origin with filter lists. 👍

DogMuffins,

Well yeah but building in privacy-enhancing features like this is a great strategy for FF.

markstos,

I noticed this feature in Brave first.

sturlabragason,

Mentioning Brave is like subscribing to downvotes. 😅

sfgifz,

Indeed, but it’s true - Brave did bring this feature long ago. It’s a good thing for us, let multiple browsers try to one up each other on privacy focused features.

gila,

That’s true, this was one thing that was slightly annoying when I made the move from brave to Firefox. But I mean, I wouldn’t really characterise this as a reliable security feature. If you don’t manually check your URL before hitting return anyway, you’re going to be less secure than without the feature

sturlabragason,

As a Brave user I’m well aware … of all of the above 😅

PeleSpirit,

I updated yesterday and they made google my default search when I had it removed before. I love firefox but they occasionally do sketch things.

Contend6248,

Did you remove it or just switched the default to a different one?

I think it getting added again might happen in updates, if they change defaults that’s a whole other beast

Switching is enough for me and i didn’t had any weird behavior since years, beside the fullscreen VPN ad they did once

PeleSpirit,

I removed all but duckduckgo. I not only had to change it back to duckduckgo, but remove it too. This was the first time in years that I had to do anything like that. I used to have to remove them every update, but I think I had a malware copy back then.

brianorca,

Try switching the default before removing the others. If the others get added back, the default should start the same. If you just remove them, it might not update the default. (Because then it’s just showing you whatever is left over when it can’t find the default.)

dubyakay,

Sucks, but they do this periodically yes. Google affiliation is a good revenue stream for them.

Transcendant,

Firefox user for many, many, many years. I tried chrome once and was dismayed at how sluggish it was, hogging ram & cpu.

FF just gets better and better with every update. I’m amazed that more people aren’t using it.

pineapplelover,

At my school, firefox on the computers are not updated at all so it’s using the very old firefox. Even then, it’s not that slow. Now the current update is way more modern but it does have the weird stuff like pocket and very weird advertisements bookmarked on the front page. You’ll get a much better experience after you do all the adjustments of removing everything and installing the proper extensions, maybe a little arkenfox too.

Transcendant,

That’s interesting to hear. How come they aren’t updating?

Tbh I don’t mind those ‘ads’ you speak of, not sure if we’re talking about the same thing because for me it’s mostly articles, often quite interesting stuff that I wouldn’t have seen elsewhere. Will have a look into arkenfox now as never heard of that

Vilian,

i had i siminular problem in college, they used a program to “freeze” the wi dlws stage, so it reset the state in every boot, but they didn’t updated the pc in years

zkfcfbzr,

Here’s an amazon link both without and with that feature being used, for comparison. (The tracking one was created in incognito mode, because I don’t know what sort of things it might reveal about me otherwise)

www.amazon.com/…/B0B3CLN8PX/?_encoding=UTF8&p…

www.amazon.com/…/B0B3CLN8PX/?_encoding=UTF8&r…

What do the parts it left on do? The encoding is innocuous enough but I don’t know what it’s doing with ref or th. I usually sanitize links myself and I’d have brought that one down to either

www.amazon.com/…/B0B3CLN8PX

or

www.amazon.com/dp/B0B3CLN8PX

, depending on how much I cared at the time. I kind of expected firefox to bring it down to the first version.

Atemu,
@Atemu@lemmy.ml avatar

Hm, copying the first link “without site tracking” still gives me this:

www.amazon.com/…/B0B3CLN8PX/?_encoding=UTF8&p…

zkfcfbzr,

I get the same when I copy from my comment - I guess it only works reliably from the address bar? Or maybe only if you’re on the correct site?

plz1,

The “ref” param is clearly a tracking breadcrumb, but not sure what the “th” param is. So this is “better” than nothing, but still has room for improvement. “_encoding” is fine, but UTF-8 should be a default for most users anyways.

dubyakay,

Not sure what th is, but ref is the referrer’s ID, which gives the referrer a referral / affiliate bonus if you purchase the item using that link. In theory it’s not a bad way to support the referrer and it’s not linked to you as an individual personally. You can remove it of course if you feel like they don’t deserve the money for referring you to a deal. In the end ref or no ref the price of the item remains the same for you.

I think firefox leaves the ref in intentionally.

zkfcfbzr,

I opened amazon in incognito then clicked on a random item from their front page, which was advertising their cyber monday deals at the time. In that case would it just be letting amazon know that that’s how I ended up on that page, without serving any other real purpose?

dubyakay,
AceFuzzLord,

Great for desktop/laptop, but I’m waiting for them to release it on mobile as well. At the very least, if they have, Mull hasn’t added it yet.

kratoz29,

Can someone ELI5 what is the difference with normal link sharing?

Does it change for the end user something or what? I ask because I almost never share stuff from my browsers, but I do from some apps such as social media or Sync for Lemmy/Voyager.

mojo,

Try to copy an Amazon link with and without this option and you’ll see

mojo,

Try to copy an Amazon link with and without this option and you’ll see

kratoz29,

Ok, I’ll try.

mojo,

Try to copy an Amazon link with and without this option and you’ll see

stebo02,
@stebo02@sopuli.xyz avatar

it just removes all the crap at the end of a link

DogMuffins,

Generally a link tells a browser where to find something on the Web, but you can stuff it with additional information so that when a server receives a request for that something, it will know how the browser got that link.

This feature strip’s out that additional information.

yoz,

Is it available for Firefox android ?

SatyrSack,

You can look into URLCheck until it is

github.com/TrianguloY/UrlChecker

hiramfromthechi,
@hiramfromthechi@lemmy.world avatar

As of this writing, it doesn’t look like it.

As @SatyrSack here mentioned, URLChecker is a good way to manipulate a URL before opening it.

v4ld1z,
@v4ld1z@lemmy.zip avatar

It does look like a really good app and idea, but I’m wondering if it’s really necessary on mobile devices. Usually, I don’t go around clicking on all kinds of links I shouldn’t, so I’m wondering what exact purpose it accomplishes. Genuinely looking for input here.

hiramfromthechi,
@hiramfromthechi@lemmy.world avatar

If anything, URLCheck is even more necessary on mobile devices, particularly iOS where Firefox is just reskinned Safari. On Firefox for Android, you could install the ClearURLs extension, or use uBlock Origin filter lists.

With that said, there are other use cases. For example: Friends or family might share URLs from social media. They often contain unique identifiers that you can strip before clicking the link by using URLCheck.

More on this here: a.lemmy.world/lemmy.world/post/8443034

v4ld1z,
@v4ld1z@lemmy.zip avatar

Good points. I was under the impression, though, that the extension doesn’t exist for mobile Firefox yet.

lemann,

It prevents apps from opening links in your browser directly, since they have to go through URLCheck first. Let’s say you click a link in your email, and instead it opens a “google.com/url?q=amazon.com” or a “safelinks.outlook.com/?url=…” instead of just taking you to Amazon.com. URLCheck will get rid of the unnecessary redirection and allow you to go directly to the site.

Adding onto that, my pet peeve with email links is them showing you a link that says Amazon.com, but then you go to click the link it opens a bunch of email tracking links before finally taking you to Amazon.com. With URLCheck you can actually stop these links from opening, and go to the website directly in the browser yourself.

If you’re familiar with that issue that popped up regarding “.zip” domain names, and how they can be engineered to look like an official URL, this is a non issue as you’ll get a warning if any link contains malicious unicode characters that could be mistaken for something else

Also, if you have multiple apps that can handle a link (maybe different youtube apps like libretube, newpipe, grayjay), you can pick which one to open after clicking a link. Android does have a stock app picker, but it’s very easy to mistakenly set an app as default.

Android apps can also track what apps triggered them to open - URLCheck can mask this, and even set some advanced flags for how the link handler app should be opened.

To be honest after using it for a while, I really wish there was something similar available for desktop

v4ld1z,
@v4ld1z@lemmy.zip avatar

Thanks for the insight!

corbin,

On Android you can install LinkCleaner as a PWA using a chromium browser, it will show up as an option when sharing a link from Firefox or any other app.

polle,

Why would i ever have a link with tracking?

hiramfromthechi,
@hiramfromthechi@lemmy.world avatar

What do you mean? Tons of links on the web have trackers appended to the URL.

pixelscript,

Pretty sure they are asking, “Why would I ever want the tracking copied, why is this relegated to a bespoke option instead of being the default behavior?”

WarlordSdocy,

I think it’s good to have a normal copy along with this remove tracking one. In case for some reason removing tracking messes something up with the link and makes it not work. It’s always nice to have options rather than just doing it automatically.

andyMFK,

agree with you about having options, but swap it around. have copy without trackers be “copy link”, and then have an option “copy link with trackers”

jim,
@jim@programming.dev avatar

I disagree. I think the default option should be what users expect, and users expect “copy” to do exactly that: copy without modifying the text.

shotgun_crab,

I think we could have an about:config tweak to make copying links always remove trackers

QuazarOmega, (edited )

The fact is that there is no surefire way to get rid only of tracking parameters, because they can mix in with other legit ones that if removed would break the website you’re visiting.
Last I heard, Facebook had rolled out some encrypted URL parameters, so the collective mapping efforts to manually identify parameters only used for tracking on each different website could very well be nullified if many implement something evil as that

Lemmyvisitor,

account activation links often have tracking required for them to work

aeharding,
@aeharding@lemmy.world avatar

Does anyone know where the source code for this is?

Patches,

deleted_by_author

  • Loading...
  • plz1,

    Blanket-removing the query string would break many real links, so I’d imagine it’s more nuanced than that.

    Goun,

    I really hope they’re not sending the URL anywhere…

    Knusper,

    I don’t see why they should send the URL somewhere. For Googley reasons, most tracking parameters start with “utm_”. You can remove those pretty naïvely, generally without links breaking.

    BitSound,

    There’s various well-known tracking parameters that can be stripped, like UTM parameters. Stripping all query parameters would break a lot of sites, like anything in the vein of example.com/site.php?id=123

    beizhia,
    @beizhia@lemmy.world avatar

    My c++ is pretty rusty, but I hopped through the changelogs. I think this is the source for it here hg.mozilla.org/…/URLQueryStringStripper.cpp

    nitefox,

    tbf, out of all the programming languages c++ is the worst in terms of DX and readability. Even worse than java, which I despised so much

    Vincent,

    I don't know the relevant programming languages so I don't know what to search for, but generally, if you want to find something in the Firefox source code, supposedly https://searchfox.org is a great way to do that.

    speaker_hat,

    I’m curious whether this sweet feature alone will decrease data greedy websites revenue in $ millions

    LufyCZ,

    It won’t

    CCF_100,

    Based Firefox

    const_void,

    Firefox is getting better every day

    hiramfromthechi,
    @hiramfromthechi@lemmy.world avatar

    Can’t wait til the entire extension ecosystem is available on mobile

    lapommedeterre,

    Semi-off-topic, but is there anything like a smarter clipboard on Android that can remove tracking details on paste (would be different from a plain paste)?

    corbin,

    Not quite the same thing, but if you install LinkCleaner as a PWA using a chromium browser, it will show up as an option when sharing the link. Then you can copy to the clipboard or share it elsewhere.

    hiramfromthechi,
    @hiramfromthechi@lemmy.world avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines