[tor-bugs] #9268 [TorBrowserButton]: Resizing the browser window does not take size of taskbars and DPI into account
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Apr 3 15:29:36 UTC 2014
#9268: Resizing the browser window does not take size of taskbars and DPI into
account
-------------------------+-------------------------------------------------
Reporter: gk | Owner: mikeperry
Type: defect | Status: needs_revision
Priority: major | Milestone:
Component: | Version:
TorBrowserButton | Keywords: tbb-fingerprinting,
Resolution: | GeorgKoppen201403R, MikePerry201403R
Actual Points: | Parent ID:
Points: |
-------------------------+-------------------------------------------------
Comment (by cypherpunks):
>Although I still don't know why the values from the browser console are
different.
They not different for me, if testing OS Windows. Using:
{{{
torbutton_log(5, window.outerHeight + " " +
window.innerHeight + " " +
window.mozInnerScreenY + " " +
window.screenY + " " +
diff_height + " " +
diff_width + " " +
delta_fix);
}}}
And difference of window.outerHeight and window.innerHeight never changes.
Difference the same for every call, as from console.
Another platforms have different sizes. Just found case where
window.innerHeight is zero always.
Kludge was planned for non OS Windows, but seems like covers only some
specific unity gnome case and not all non OS Windows cases.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9268#comment:45>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list