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

tagnaq tagnaq at gmail.com
Sun Apr 17 14:36:51 UTC 2011


On 04/17/2011 02:25 PM, Alexander Cherepanov wrote:
> 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

Thanks for your reply.

Ok, Mike is aware of the issue:
https://trac.torproject.org/projects/tor/ticket/2875

best regards,
tagnaq


More information about the tor-talk mailing list