Invisible Click Tracking Using “Empty” UTF-8 Characters
21–30 of 38 posts
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#22i don't see any variables in the url when i run the inspector.
>>> repr('http://kaspars.net/blog/web-development/invisible-click-tracking')
"'http://kaspars.net/blog/web-development/invisible-click-tracking\\xe2\\x80\\x8b'"
EDIT: Yeah, they didn't show up anywhere in the Safari inspector for me either.Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#23I actually like this. Assuming you agree there are non-creepy reasons to track clicks (not a given on HN) then this lets you keep your urls nice and clean when people just want to copy and paste them. I imagine it might break in some scenarios (the url ends up with junk in it from bad unicode conversion) but it's up to you to be permissive in the urls you accept.
If I'm filling out some form fields with URLs, I strip trailing (and leading) spaces too.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#24Isn't this exploiting the same kind of Unicode ambiguity that allowed phishing sites to impersonate trusted domains by substituting certain latin characters with identical-looking cyrillic equivalents? I would expect this capability to last long in the wild.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#25I actually like this. Assuming you agree there are non-creepy reasons to track clicks (not a given on HN) then this lets you keep your urls nice and clean when people just want to copy and paste them. I imagine it might break in some scenarios (the url ends up with junk in it from bad unicode conversion) but it's up to you to be permissive in the urls you accept.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#26Anyone have a suggestion of how this would be used in practice for uniquely identifying something? So there are a certain number of non-width space characters. As far as I can find in the links in the OP, U+FEFF, U+180E, U+200B, U+200C, U+200D would make 5. So we have at least 5 values to work with, which would make... 120 combinations if they're ordered differently? Surely we would need more if we want to uniquely i…
5 5 5 5 5 if you limit to a 5 character word!
I get:
5^0+5^1+5^2+5^3+5^4+5^5 = 3,906
But I may have totally missed something.Edit: looking a little closer I see some italics in your 55555 so I guess you have 5 * 5 * 5 * 5 * 5
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#27Just to point out that hovering over the link shows URL-encoded codepoints, i.e. %u200B (in Firefox, for me, at least). I do think it's a better solution than the existing approach with GET parameters which does look clumsy.
Interesting. Chrome on Windows doesn't.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#28Just to point out that hovering over the link shows URL-encoded codepoints, i.e. %u200B (in Firefox, for me, at least). I do think it's a better solution than the existing approach with GET parameters which does look clumsy.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#29Isn't this exploiting the same kind of Unicode ambiguity that allowed phishing sites to impersonate trusted domains by substituting certain latin characters with identical-looking cyrillic equivalents? I would expect this capability to last long in the wild.
Re: Invisible Click Tracking Using “Empty” UTF-8 Characters
#30i don't see any variables in the url when i run the inspector.
Copy and paste the link into python, like so: >>> repr('http://kaspars.net/blog/web-development/invisible-click-tracking') "'http://kaspars.net/blog/web-development/invisible-click-tracking\\xe2\\x80\\x8b'" EDIT: Yeah, they didn't show up anywhere in the Safari inspector for me either.