Slashdot Mirror


Firefox To Add Tor Browser Anti-Fingerprinting Technique Called Letterboxing (zdnet.com)

Mozilla is scheduled to add a new user anti-fingerprinting technique to Firefox with the release of version 67, scheduled for mid-May this year. "Called 'letterboxing,' this new technique adds 'gray spaces' to the sides of a web page when the user resizes the browser window, which are then gradually removed after the window resize operation has finished," reports ZDNet. From the report: Advertising networks often sniff certain browser features, such as the window size to create user profiles and track users as they resize their browser and move across new URLs and browser tabs. The general idea is that "letterboxing" will mask the window's real dimensions by keeping the window width and height at multiples of 200px and 100px during the resize operation -- generating the same window dimensions for all users -- and then adding a "gray space" at the top, bottom, left, or right of the current page.

The advertising code, which listens to window resize events, then reads the generic dimensions, sends the data to its server, and only after does Firefox remove the "gray spaces" using a smooth animation a few milliseconds later. In other words, letterboxing delays filling the newly-resized browser window with the actual page content long enough to trick the advertising code into reading incorrect window dimensions.
The feature was first developed for the Tor Browser, and can be seen in action here. In order to enable the feature in Firefox, "users will first need to visit the about:config page, enter 'privacy.resistFingerprinting' in the search box, and toggle the browser's anti-fingerprinting features to 'true,'" reports ZDNet.

22 of 101 comments (clear)

  1. Well it's a step by Anonymous Coward · · Score: 3, Insightful

    A long way to go, but I like this direction.

    1. Re: Well it's a step by morethanapapercert · · Score: 3, Interesting
      And it strikes me as pretty straight forward, even trivial, to work around this. All you would have to do is add a delay or secondary trigger to the code. Visitor resizes? then wait X milliseconds before checking window size. Or check window size only on a scroll or page down action.

      Note: I'm not a web designer or coder, so I could be talking out my ass when it comes to judging the difficulty involved. But I'd be willing to bet money on it.

      --
      I need a wheelchair van for my son. Help me get the word out. https://www.gofundme.com/wheelchair-van-for-jj
    2. Re:Well it's a step by Joce640k · · Score: 5, Interesting

      A long way to go, but I like this direction.

      Really? Firefox is still sending a stupidly detailed user-agent string, exact model of graphics card, list of plugins, list of installed fonts, screen resolution, time zone, etc.

      Hell, even your "Do Not Track" setting is useful to the people who want to track you - some people enable it, some people don't. Imagine that, a privacy-enhancing feature that decreases your privacy.

      --
      No sig today...
    3. Re:Well it's a step by Anonymous Coward · · Score: 2, Insightful

      What a horrible way to spoof ad scripts.

      They abuse window dimensions, so the browser waste time & space drawing gray in order to faithfully report oddball window sizes?

      Don't waste time & space drawing gray. Just report fake rounded-down window sizes when the scripts query.

      There is no need to actually change the window size. Just lie to the ad scripts!

    4. Re:Well it's a step by AmiMoJo · · Score: 3, Informative

      They never sent stuff like a list of fonts, but the list can be gleaned via CSS. Simply create hidden CSS elements with every known font in use and then query them to see if that actual font was used. The browser will even helpfully not load the actual font because it can see that the element is hidden, to avoid your code grinding the computer to a halt.

      Screen resolution is the same. Even if they disable the direct JS query people would just make a bunch of CSS rules for different sizes and see which one is applied.

      The ability of CSS to adapt to things like screen size is generally a good thing, the problem is that Javascript can then figure out what it did. Blocking that is possible but will cause breakage, so it needs a major browser like Firefox to do it slowly and push web developers to fix the issues. If they do it quickly with massive breakage then users will complain.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  2. Can't the javascript code just delay? by Anonymous Coward · · Score: 2, Insightful

    Isn't it trivial to write some java script to delay a bit before reading browser dimensions?

  3. Contraproductive by dshk · · Score: 2

    Fingerprinting is useful for moderation and in the fightagainst trolls, cheaters etc. It is about identifying a computer, not about identifying a person. If they make moderation harder, then there will be less place to socialize on the web. Moreover, income from untargetted ads is only 1/3 - 1/10 of the income for targetted ads. The reduced income results in less service. People could easily pay to replace ad income, but microtransactions haven't taken off for 20 years. They cannot win either, at most they make the monopolies of the internet stronger. It seems the developer community around the web shoot itself in the foot.

    1. Re:Contraproductive by Actually,+I+do+RTFA · · Score: 2

      Fingerprinting is useful for moderation and in the fightagainst trolls, cheaters etc.

      That is one of it's uses, sure. And that same use would happen if you required everyone to have a verified photo ID. This benefit isn't worth the cost.

      . It is about identifying a computer, not about identifying a person

      I assume you know this is a lie. IDing a computer that looks at X, and IDing that same computer as signed into FB as Joe Schmo (at the same time?) is a clear way to link Joe Schmo to X.

      They cannot win either, at most they make the monopolies of the internet stronger. It seems the developer community around the web shoot itself in the foot.

      I don't understand what you are trying to say here. Want to clarify?

      --
      Your ad here. Ask me how!
  4. Re:Great by mrbester · · Score: 2

    The web was envisaged as being open by design. As it originated as something running on a closed corporate network, such openness such as identifiable information of the user wasn't considered remotely dodgy. It's only subsequently that such information has been considered to be morally dubious thanks to those who spotted a potential revenue source and exploited it.

    --
    "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
  5. resources by sad_ · · Score: 5, Insightful

    people wonder why are todays computers, which are so powerful, so slow?
    well, this is the answer, first you have code running trying to identify who you are, then you have code running that tries to trick the other code detection mechanism. many cpu cycles are lost.

    cpu cycles are not the only wasted resource, mind you. there is also somebody coding all this stuff, which otherwise perhaps could have been implementing really cool things.

    --
    On a long enough timeline, the survival rate for everyone drops to zero.
  6. Whitelisting by DrYak · · Score: 5, Insightful

    Saddly it seems that whitelisting Javascript (e.g.: the Firefox NoScript extension) and keeping it to the bare strict minimum required to successfully display a web page is the only practical way to avoid/diminish the online tracking.

    Luckily, it seems that nearly all the web rely on 3rd party libraries to do the tracking and thus blocking 3rd party libraries and only allowing select few helps increasing the protection against tracking.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Whitelisting by AmiMoJo · · Score: 5, Interesting

      Whitlisting Javascript won't actually protect you from this, not entirely. For example the site can use CSS to load a different resource based on your browser window size, which the server can log along with your IP address.

      It's extremely difficult to block everything that could be used to identify a browser. A better technique is to poison the data, making it unreliable and ever-changing.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:Whitelisting by Anonymous Coward · · Score: 3, Insightful

      My browser strings used to show that my computer was an 8 bit Atari 800 with 16 MB of RAM, video card was a Hercules, the OS was MS-DOS 3.2, and that the web browser was Outlook Express. If the servers "need" to collect data then we should flood them with garbage data.

    3. Re: Whitelisting by Anonymous Coward · · Score: 2, Informative

      clearly uniquely identifiable and tracksble

    4. Re:Whitelisting by AmiMoJo · · Score: 3, Insightful

      That really helps them uniquely identify you, because you are the only one surfing the web on an Atari 800.

      What you need is an add-on that randomly changes the browser ID string every few minutes. Use a common but randomly selected one.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  7. Re:Arms races by Anonymous Coward · · Score: 3, Funny

    They learn to spell "missile" properly?

  8. Re:Arms races by lgw · · Score: 2

    Sure, but what happens when they deploy their missle-missle-anti-anti-anti-missle-anti-anti missles?

    Those were banned by the anit-anti-missile missive.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  9. Re:There's your problem ... by tepples · · Score: 2

    Anonymous Coward wrote:

    Sorry, but if you work for an analytics company, or an internet ad company, you really are a sack of shit

    Then let's discuss how to make "Internet ad companies" and the "sack[s] of shit" who work for them obsolete. It sounds like you and other Slashdot users like you want one of three things to happen: either A. you want to keep ads but destroy "Internet ad companies", or B. you want to fund the operation of websites through payments from users, or C. you want to fund the operation of websites through some means other than ads or paywalls.

    In case A, each website would have to hire, much as in the good old days of print advertising in newspapers. This means each website would need to hire an ad sales team to make prospective advertisers aware of the existence of that website's ad space. How would you suggest to make this practical for smaller websites?

    In case B, I'm interested to see how you would circumvent banks' fees for accepting electronic payment. Pay-per-page is untenable because of the 30 cent fee that the acquiring bank takes on top of each transaction. So is paying for a pack of 100 articles on a particular site, as someone who pays $5.00 for the minimum 100-article pack just to read four articles would see 96 article view credits go to waste.

    As for case C, could you explain what you had in mind? Shut down any site that doesn't have a shopping cart and isn't run by a nonprofit organization or as an individual's hobby?

  10. Re:Idiots! by tepples · · Score: 3, Insightful

    DontBeAMoran ( 4843879 ) wrote:

    So congratulations, idiots. You just gave advertisers a way to target Firefox users even if they use a fake user agent string.

    Targeting "Firefox users" isn't as valuable as targeting "D. B. A. Moran" who lives on 484 38th Street, apartment 79.

  11. Re: There's your problem ... by tepples · · Score: 2

    You appear to suggest that users "name and shame and boycott" any website that relies on an ad network or ad exchange. Let's assume for purposes of argument that you operate a website or web application, and you want to fund the website's operation while avoiding this boycott. What would be your next step?

  12. Re:Great by Wycliffe · · Score: 3, Interesting

    Except there are literally hundreds of additional data points which allow websites to uniquely identify you.

    The point isn't just to identify you as unique but for you to both be unique the first time AND recognizable the next time you come back. This seems like a much easier problem to solve. Just change as many of the settings as you can each time you visit a website. If you had a browser capable of randomly tweaking settings at each page load it should be able to add enough noise that browser fingerprinting would become worthless. As an added bonus, not only would it protect your browser, the noise would add a touch of herd immunity and help other people with stock browsers as well. The goal shouldn't be to lock down a browser so that nothing is leaked but rather to leak so much random crap that it becomes worthless.

  13. Re:Arms races by Wulf2k · · Score: 2

    I think I was vaccinated for the missles once.