7 ms·
Am I wrong in thinking that all this does is look at window.navigator? It doesn't seem to work for me though.
by noobermin 10y ago
Am I wrong in thinking that all this does is look at window.navigator? It doesn't seem to work for me though.
- colejohnson66 10y agoYes, you're wrong :) It actually opens up this page in the background: chrome://torbutton/locale/aboutTor.properties If it exists, you're using Tor. Pretty obvious. For the version, it concats a few variables from `window.navigator', CRCs them, then compares the result against known CRCs. The code[0] is pretty easy to follow. I'm surprised Tor exposes these variables at all. [0]: https://github.com/jonaslejon/tor-fingerprint/blob/master/tor-fingerprint.js https://github.com/jonaslejon/tor-fingerprint/blob/master/to...
- MichaelGG 10y agoIsn't that only for Chrome? Tor Browser's based on Firefox eh. I thought XHR wasn't allowed cross-domain anyways, so shouldn't these things fail? Though I admit having no knowledge of how the addon system works. Detecting Tor should be easier though, since exit nodes are published. So just check the IP? I imagine all the variables have to be exposed because sites will break otherwise.
- gruez 10y ago>Isn't that only for Chrome? Tor Browser's based on Firefox eh "chrome" in this context refers to the control elements of the browser https://en.wikipedia.org/wiki/Graphical_user_interface#User_interface_and_interaction_design https://en.wikipedia.org/wiki/Graphical_user_interface#User_...
- MichaelGG 10y agoRight but I was unaware FF exposed a "chrome" Uri scheme. I'm sure they have their reasons for letting pages make Xhr calls to add-ons like that but seems complicated.