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.

PaulStamatiou.com runs on the Thesis Theme for WordPress

How smart is your Theme?  How good is your support? Check out ThesisTheme for WordPress.

Thesis is the search engine optimized WordPress theme of choice for serious online publishers. If you’re a blogger who doesn’t understand a lot of PHP, Thesis will give a ton of functionality without having to alter any code. For the advanced, Thesis has incredible customization possibilities via Thesis hooks.

With so many design options, you can use the template over and over and never have it look like the same site. The theme is robust and flexible enough not only to accommodate a site like PaulStamatiou.com, but also to enable the site to run far more efficiently than it ever has before.

{ 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

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

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

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

5 oneighturbo December 16, 2005 at 2:46 pm

sorry the previous post was messed…

800×600

1024×768

Full Screen

Reply

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

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:

Next post: