Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

How to automatically remove all tracking codes and tags in URL's?

  • 8 답장
  • 0 이 문제를 만남
  • 18 보기
  • 최종 답변자: zeroknight

more options

The new selection "Copy without site tracking" may eliminate certain codes, but does not remove all invasive data (my term). Consider this common URL occurrence:

link text

The new filter does absolutely nothing to this and when I pass this kind of URL on to others, I do not want to include all that crapola. Currently I have to manually edit the link, which can really get tiresome when passing on a lot of links.

Is there a way to modify anything in Firefox to accommodate this?

The new selection "Copy without site tracking" may eliminate certain codes, but does not remove all invasive data (my term). Consider this common URL occurrence: [http://www.xxyyzz.com/article/chatgpt-can-leak-source-data-violate-privacy-says-googles-deepmind/?ftag=TRE-03-10aaa6b&utm_email=a555963e4f8588f5ecf9e67173c47ac85224f15702bac51f78716e2cb46b3a07&utm_campaign_id=8456858&utm_email_id=14355a6dd9d36aadfb76d9fba916c5922302e59a5090d0611bd4421912d4c2c7&utm_newsletter_id=92303&medium=email&source=iterable link text] The new filter does absolutely nothing to this and when I pass this kind of URL on to others, I do not want to include all that crapola. Currently I have to manually edit the link, which can really get tiresome when passing on a lot of links. Is there a way to modify anything in Firefox to accommodate this?

모든 댓글 (8)

more options

I haven't tried this yet, but your example is puzzling because anything starting with "utm" reeks of tracking.

When I check the source code for Firefox 120, there is a predefined list of parameters to strip. See: https://searchfox.org/mozilla-release/source/toolkit/components/antitracking/data/StripOnShare.json

ftagNothing similar
utm_email, utm_email_idLooks like variations on utm_emcid and utm_emmid
utm_campaign_idLooks like a variation on utm_campaign and utm_campaignid
utm_newsletter_idNothing similar

I added these to bug #1859353, although I'm not sure whether that is what this bug was meant for...

(Please use caution when commenting on bugs, since they can be locked if there are too many advocacy comments. https://bugzilla.mozilla.org/show_bug.cgi?id=1859353)

글쓴이 jscher2000 - Support Volunteer 수정일시

도움이 되셨습니까?

more options

You can add more parameters to privacy.query_stripping.strip_list in about:config (space separated).

ftag utm_email utm_email_id utm_campaign_id utm_newsletter_id

도움이 되셨습니까?

more options

zeroknight said

You can add more parameters to privacy.query_stripping.strip_list in about:config (space separated). ftag utm_email utm_email_id utm_campaign_id utm_newsletter_id

Well, that looks like it would work (haven't tried it yet), but I take it that each entry would only remove that entry, but none before or after it. Eventually I guess I would cover most of those common ones but I will still have to clean up the question mark and any that may be new, but it would really be simpler to just detect a question mark (?) and in my case delete it and everything after it. In other words "allow no queries". :)

Thanks! That gives me a good starting point!

도움이 되셨습니까?

more options

I guess the pref won't work. For now there's only predefined list of tracking parameters, as jscher said.

For you it's better to use the ClearURLs addon => https://addons.mozilla.org/firefox/addon/clearurls/

도움이 되셨습니까?

more options

The problem is that query parameters often are useful, like when you run a web search. I think Firefox is taking a conservative approach to identifying known tracking tags and removing only those so as to avoid breaking the link's functionality. I doubt they will add "remove everything after the ?" as a built-in feature.

Probably an add-on or userscript will be needed for now.

도움이 되셨습니까?

more options

I understand there may be 'helpful' stuff in there somewhere, but not for me. When I click on the link, for example, in my Email client Thunderbird, it goes to Google, they redirect it to the final website with all that stuff. As I understand it, that 'stuff' has then been collected, stored and analyzed for useful tidbits by the website.

That's fine. I just want to pass along the link to others in printed form without all that stuff. The link will still go to the same page, they will see the same content I saw. But that extra stuff after the question mark is not necessary and simply clutters up the written page and uses unnecessary bandwidth when my 10,000 subscribers (j/k) click on the link.

I have tried ClearURLs, LinkCleaner+, and Remove Query Params addons and, unless I am simply not finding the right settings, clear only part of the link.

In the example I gave originally, they cleaned everything but "?ftag=TRE-03-10aaa6b&medium=email&source=iterable" after the normal link contents.

I have put "ftag medium source" in the privacy.query_stripping.strip_list as well as the other params but it seems nothing will get rid of ftag, medium, and source.

If someone can point me to some examples/how-to's for userscripts, I would appreciate it. Again, I simply would like to copy everything in a given link I wind up at except the question mark and everything after it.

The contents of privacy.query_stripping.strip_list do not show up after testing the results of an entry and then going back in. Can the contents be deleted/reset for just that setting?

글쓴이 Slick 수정일시

도움이 되셨습니까?

more options

Hmm, sorry, I just saw that Firefox 85 and later do not allow user scripts to add items to the context menu, at least the way I used to do it. So I think it would need to be an extension.

도움이 되셨습니까?

more options

Query parameters are essential for many links, for example youtube uses the v parameter to specify the video ID. You would not be able to share a link to a specific video if you removed all parameters.

privacy.query_stripping.strip_list is able to remove ftag, medium and source parameters for me, remember to only use spaces to separate each parameter. The edit box has a limited width and will only show partial content, you can use the arrow keys to move to the beginning or end.

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.