Re: resizing the Epiphany window to a specified amount of pixels
- From: Alexander van Loon <svloon xs4all nl>
- To: Jeff Wheeler <jeff nokrev com>, epiphany-list gnome org
- Subject: Re: resizing the Epiphany window to a specified amount of pixels
- Date: Sun, 23 Mar 2008 22:48:09 +0100
On Sun, 2008-03-23 at 12:52 -0500, Jeff Wheeler wrote:
> Hey,
>
> > After some searching I figured out that I can enter
> > "javascript:window.resizeTo(800,900);" in the location bar of the
> > browser to resize it. This works with Safari 3.1 and Internet Explorer 8
> > beta 1, but not with Firefox 3 beta 4. Fortunately Firefox has
> > extensions which can do it. My problem is that it doesn't work in
> > Epiphany either, but for Epiphany I can't use an extension which can do
> > it. I also tried using the "Window Rules" option of Compiz to do it, but
> > that doesn't take into account the window borders, which makes that
> > useless.
>
> You might try the Python console plugin. After enabling it, try
> something like this:
>
> window.resize(800, 900)
>
> (Make sure your window isn't maximized--if it is, nothing will happen.)
>
> If that doesn't work the way you want with the window borders (I'm not
> sure I understood what way you wanted it), try looking at the children
> of window and resizing the Mozilla embed element itself to the
> dimensions you want, and the chrome should resize according to that.
>
> Jeff Wheeler
>
Thank you very much for your help Jeff, this works for me. However, I
noticed that after I gave the command window.resize(1024,768) in the
Python Console and create a screenshot of the Epiphany window, that the
screenshot was in fact 1034 by 795 pixels. After compensating for this
inaccuracy by giving the command window.resize(1014,741), the screenshot
of the window is exactly 1024 by 768 pixels.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]