Browser Resizing

I just encountered a great tip on how to quickly adjust a browser window to a specific dimension.

Just type any of the following in address bar:

javascript:resizeTo(640, 480);
javascript:resizeTo(800, 600);
javascript:resizeTo(1024, 768);

It gets better!  We can bookmark these as well.

Granted, there are tools that do this as well.  Visual Studio also has the [Browse with...] option that allows the developer to specify the dimensions of the browser when a page is viewed.  However, for a real easy way to view a page at multiple dimensions, the tip above is what I am going to use from now on.

[palermo4.com]

2 Comments

  • But: after resizing with the above javascript, the browser size becomes fixed and you will not be able to grab the corner with your mouse and adjust.

  • The resizeTo also works nicely embedded as inline javascript enabling the developer to specify the window size s/he would prefer for a specific page.



    I didn't experience the problem of a fixed window.

Comments have been disabled for this content.