News for hackers. Stuff that matters.
Re:Tor Anonymity: Things Not to Do by x1798DE on Monday January 04, 2016 @12:03AM (#10834111)
I think if you browse without JavaScript on, this information is not available to the sites you visit.
Re:Tor Anonymity: Things Not to Do by storborg on Monday January 04, 2016 @12:22AM (#10834152)
Viewport width can be obtained via CSS, e.g. by using a media query for every screen width:

    @media (min-width: 400px) {
      .thing {
        background-image: url(size-400.png);
      }
    }
    @media (min-width: 401px) {
      .thing {
        background-image: url(size-401.png);
      }
    }
You could combine this with pixel density for even more specificity.
Re:Tor Anonymity: Things Not to Do by adrusi on Monday January 04, 2016 @12:45AM (#10834211)
The tor browser bundle does have settings to disable media queries for this reason, but it is still conceivable to be identified by browser size unless you completely disable all embeded media (including images). Perhaps the browser delays loading images that aren't visible on the screen.
Re:Tor Anonymity: Things Not to Do by mistercow on Monday January 04, 2016 @03:29AM (#10834540)
This seems almost trivial for the browser to fix. Just load all CSS resources, regardless of media query matching.
Re:Tor Anonymity: Things Not to Do by ponyous on Monday January 04, 2016 @05:55AM (#10834861)
IIRC TOR is already slow. I am now sure you want to do this.
Re:Tor Anonymity: Things Not to Do by mistercow on Saturday January 09, 2016 @03:57PM (#10872851)
Yeah, it's speed for anonymity, just like everything else about TOR.
Re:Tor Anonymity: Things Not to Do by J_Darnley on Monday January 04, 2016 @07:02AM (#10835082)
What idiots thought this was a good idea? I swear, sometimes it seems like browser writers, standard writers, and website writers are actively colluding with advertisers and spies to make it easier to uniquely track everyone.
Re:Tor Anonymity: Things Not to Do by justJanne on Monday January 04, 2016 @07:14AM (#10835141)
Well, the idea was to do stuff like

    @media(max-size: 200px) { #container { background: url(tiny_mobile.png); } }

    @media(max-size: 400px) { #container { background: url(small_mobile.png); } }

    @media(max-size: 800px) { #container { background: url(medium_tablet.png); } }

    @media(max-size: 2000px) { #container { background: url(large_desktop.png); } }

    @media(min-size: 2000px) { #container { background: url(retina.png); } }
Not always loading the same image is a good idea on mobile.
Re:Tor Anonymity: Things Not to Do by J_Darnley on Monday January 04, 2016 @11:39AM (#10836529)
See my reply elsewhere. Background images are bad meaning this isn't a very compelling argument.
Re:Tor Anonymity: Things Not to Do by cbr on Monday January 04, 2016 @10:13PM (#10840827)
Often these aren't really background images, they're just using that to set image sources via CSS. These days you can do the same thing with srcset, which also allows someone to learn your screen resolution.
Re:Tor Anonymity: Things Not to Do by pc86 on Monday January 04, 2016 @08:46AM (#10835570)
It's almost as if when your goal is to track someone you can use widely available, generally innocuous means to do so.

People being smart is the horse, and programmers colluding with "advertisers and spies" in a massive fashion is the zebra.

Re:Tor Anonymity: Things Not to Do by schoen on Monday January 04, 2016 @10:23AM (#10836020)
There's kind of a long-term issue about the web platform changing in ways that increase trackability, often without people thinking about it (or maybe in a few cases without people admitting that they thought about it).

There is a W3C TAG document that touches on this at

http://www.w3.org/2001/tag/doc/unsanctioned-tracking/

One problem is that there are so many ways of tracking user-agents in the web platform today that it can be hard to convince anyone that addressing one of them will improve the situation. :-(

Re:Tor Anonymity: Things Not to Do by sp332 on Monday January 04, 2016 @10:40AM (#10836125)
You're the one who sent an HTTP request to a web server. They're only "tracking" requests your browser makes to them. If you don't want a site tracking you, stop sending them data.
Re:Tor Anonymity: Things Not to Do by J_Darnley on Monday January 04, 2016 @11:37AM (#10836515)
I can and do control many of the requests a website tells my browser to make. I deny javascript. I deny cookies (strictly speaking I have cookies deleted when I close the page). I deny flash. I deny third-party objects. I do this because I have knowledge about them (and just the right amount of paranoia about other parties). I lament the fact that other people don't and bitch about it when appropriate.
Re:Tor Anonymity: Things Not to Do by Raphmedia on Monday January 04, 2016 @09:36AM (#10835783)
Well, if I put a HD background picture on a website, I sure don't want it to load on a mobile and use all of this user's data. It only makes sense.
Re:Tor Anonymity: Things Not to Do by swiley on Monday January 04, 2016 @11:04AM (#10836288)
Don't put HD background images on your website! Desktops have bandwidth caps too and most people are only interested in the page text not frilly multimedia.
Re:Tor Anonymity: Things Not to Do by J_Darnley on Monday January 04, 2016 @11:33AM (#10836476)
Indeed. Background images were bad in the geocities age, background images were bad in the myspace age, background images are bad in the current tumblr age.