sidebar width
-
A Former User last edited by
how can I get sidebar width from tab's contet script?
I need it for my extension
I manged to do it for top windows, but from iframes I need screen coordinates
and this what happens when using screen coordinates
http://i.imgur.com/hz0VDf2.gifgif shows that when sidebar is opened, popup is displaced for the width of the sidebar
so how do I calculate that width
or could you make some fetchable sidebar object with basic info, something like:
for particular windowID
{open: true, width: 200, active: true}