HOW TO Quickie: Browser Resize Bookmarklet

December 16, 2005 · 7 comments

Everyone has visited a site from time to time that will annoyingly change the size of your browser. There’s a quick solution to this problem. Copy the following code and save it as a bookmark. You can adjust the width and height by editing the two numbers you see. The next time you stumble on one of those sites, just click on your new bookmarklet. It works on every browser I’ve tried, but I’ll bet there’s some version of IE it doesn’t work on.


javascript:top.resizeTo(1000-screen.width+screen.availWidth,1000-screen.height+screen.availHeight);

Alternatively, you can just drag this to your bookmark bar. If you want to see what it does, just click it.

{ 1 trackback }

HOW TO Quickie: Browser Resize Bookmarklet at PaulStamatiou.com at Open Switch
December 16, 2005 at 11:55 am

{ 6 comments… read them below or add one }

1 Koray December 16, 2005 at 12:46 am

I’ve had a bookmark with almost identical code for quite a while know. It’s a great tool, and you find yourself using it way more than you thought you would. Oh and, if you make it a link rather than code, people can just drag it into their bookmarks ;D

Reply   More from author

2 Paul Stamatiou December 16, 2005 at 2:28 am

Doh, why didn’t I think of that! I’ll change it right away.

Reply   More from author

3 phil crissman December 16, 2005 at 2:52 am

Top notch tip. I went ahead and copied the link… I don’t come across that too often, so I hope I don’t need to use it much. It’s a handy link to have around, though.

Reply   More from author

4 oneighturbo December 16, 2005 at 2:38 pm

as i designer i use these all the time..

800×600

1024×768

Full Screen

Reply   More from author

5 oneighturbo December 16, 2005 at 2:46 pm

sorry the previous post was messed…

800×600

1024×768

Full Screen

Reply   More from author

6 oneighturbo December 16, 2005 at 2:48 pm

ok not working… heres the code. make a bookmark and edit its properties.. ;)

sorry paul.

javascript:resizeTo(800,600)

javascript:resizeTo(1024,768)

javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight)

Reply   More from author

Leave a Comment

You can 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>

Previous post: Top Web 2.0 Moments

Next post: Background Image Maker