Resize Browser Window with JavaScript

Few days ago I was searching for tool to resize the browser window. It is mandatory that every web developer has one.

The first ten result give the blog of Pete with the solution. Just type that in the browser address bar

javascript:window.resizeTo(1024, 768)

and the browser is set to that resolution. Change the numbers of the desired resolution and you are ready to test the new site on different resolution in a quick and easy manner.

Also another solution is to use WebDeveloper plugin for Mozilla if you use that browser. The developer of the plugin is also in the comments in the Pete blog.

Here are some resolution you may try

320×240

640×480

800×600

1024×768

1280×1024

1600×1200

1680×1050

1920×1080

Posted in JavaScript

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Sites
Categories
Archives