PersonalFilterListCollection icon indicating copy to clipboard operation
PersonalFilterListCollection copied to clipboard

FYI about strict navigation blocking any URLs that have `fbclid` parameter

Open kowith337 opened this issue 7 years ago • 6 comments

I've noticed that Facebook start to have improved their ability to track external URLs by add the fbclid parameters, even the target URL was already resolved by custom userscript, extensions and others like...

Here's an example of URL that added fbclid parameter.

https://github.com/kowith337/PersonalFilterListCollection/blob/master/docs/Facebook0-Bypassing.md?fbclid=IwAR0EibcyYCzmDGfhk_Z1WqKaq8FpBuKjDwO8rTTWEPzMNHrGM7bLvb2-DN4

And now I have added two rules, both are block as document to prevent navigation happen. https://github.com/kowith337/PersonalFilterListCollection/blob/5742ff97f0f65d772386b595c1b0f5886b7b0f7e/filterlist/FacebookZuckestionKiller.txt#L21 https://github.com/kowith337/PersonalFilterListCollection/blob/5742ff97f0f65d772386b595c1b0f5886b7b0f7e/filterlist/FacebookZuckestionKiller.txt#L22

An idea is to let the strict blocking function activated by two rules above, while uBlock or Nano give the warning about strict blocking to prevent navigating to the URL that have tracked parameter, the real URL can be exposed below the blocked URL by click to the :mag: button with all parameters stripped and it won't bind in the real URL together.

image

However, for some domains that have multiple parameters like... image

You need to make a text selection and then...

  • Copy URL and then paste to address bar (or perform Paste and Go), make sure you have exclude selecting all of fbclid parameters and values.
  • Right Click (or Tap+Hold) and perform Go to web address that you've selected.
    • For Firefox and other forks, it doesn't show the Go to menu, instead, you can perform Open in new tab/window or private window with text selected URL.

kowith337 avatar Oct 13 '18 03:10 kowith337

why two filters ?

Just use *fbclid=$1p,document,important or *clid=$1p,document,important to block gclid too.

uBlock-user avatar Jul 06 '19 12:07 uBlock-user

I'm not sure using wildcard will be affected to anything that not related to both parameter of that or not, but based on my experience, the first parameter will start with ?param_name, and will be start with &param_name for second and/or afterwards, depend on the target site that have another parameter before Facebook injecting fbclid or not.

However, I think I've seen sometime it's also beginning with # but don't know is Facebook still can read their fbclid value with that situation or not?

kowith337 avatar Jul 06 '19 16:07 kowith337

Forbes makes use of # so it's not just ? or &, unfortunately # is not considered as a URL param query.

uBlock-user avatar Jul 06 '19 16:07 uBlock-user

image

Currently Facebook also increase layer of external URLs tracking...

  1. All of external URLs will going through l.facebook.com or lm.facebook.com if you're use mobile site, neither it's basic or touch.
  2. Destination URL inside u parameter will also binding with fbclid (URL encode/decode)
  3. Also boxed by h, __tn__ and c[0] parameter.

kowith337 avatar Nov 01 '20 14:11 kowith337

$queryprune has been added to uBO dev build, now you can prune those queries.

uBlock-user avatar Nov 01 '20 14:11 uBlock-user

Thanks for your information and updates about uBO dev, however, after testing by myself, I decided to use the queryprune rules as for handling requests that shipped with unnecessary parameters, this might helpful in some case e.g. Steam trying to bind snr parameters everywhere, even while search for games and/or products, the strict blocking document in ASTLW may still keep with left some short message behind domain=~, but other requests (e.g. xhr in overdone version) will lower priority to block or getting removed once that function added in stable releases.

kowith337 avatar Nov 01 '20 16:11 kowith337