
Loading…
Blocking zero-width & space characters such as U+200B, U+200C, U+200D #826
Frankly, I fail to see the real life, concrete issue here. Somebody need to enlighten me about what I am missing.
It's a combinatorial nightmare, but it can be done; for example, to hide links with U+200B:
a[href*="​"]
a[href*="​"]
To hide images, scripts, and stylesheets with U+200C in their URLs (multiply the filters if you want to specifically target img and link and picture and source and video etc. elements):
[src*="὘"]
[src*="‌"]
To block content from URLs containing U+200D:
Ὑ
‍
My guess is paranoia surrounding this needlessly complicated form of tracking, which AFAIK cannot even be so easily mass-implemented as the Evercookie.
The author of the blog post just points out you can use non-ASCII space characters in a URL, but doesn't provide any hint at how this could be used in a way detrimental to users. I fail to see how this is even an issue.
Confirmed that worked, but I was trying to block "%E2%80%8B" , or "%" for example, which doesn't seem to work.
uBlock extracts tokens from a URL, and those tokens are used to look-up filters. There is no other way to make a blocker minimally efficient, and by the look of it, the filters in EasyList, EasyPrivacy etc. are crafted with this in mind. A token is a sequence of any of [0-9a-z%]. So you can't use tracking to block trackingABC.
Ok so I can't figure why this is an issue: I completely fail to see what was the point of the blog post.

Is it possible to block zero-width & space characters? example
Reference url: http://kaspars.net/blog/web-development/invisible-click-tracking