[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Torbutton: Resize windows to multiples of 50px during Tor usage



On 17.04.2011 14:42, tagnaq wrote:
I run the test on http://ip-check.info with Torbutton 1.2.5 and the
latest Tor Browser Bundle (Torbutton 1.3.2-alpha).
The results in both cases show that the window resolution is not set to
multiples of 50px.

Compaired to a bunch of other websites [1] that do similar checks
ip-check.info seams to be the only one detecting the real screen/window
resolution. I guess [1] use JavaScript to get screen/window size and
ip-check.info doesn't.

Yep, it uses CSS3 Media Queries. Like that:

  @media all and (width: 1024px) { ...make some text visible... }

It's also possible to query things like resolution and Windows theme.
For details see here:

  http://www.w3.org/TR/css3-mediaqueries/
  https://developer.mozilla.org/en/CSS/Media_queries
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk