Twitter: OH in class, big term paper due in a few min: "I don't know what my thesis is.. I [...]

HOW TO Quickie: Browser Resize Bookmarklet

Dec 16, 2005 in , ,

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.

Promote this article on various sites or email to your friends:     



7 Comments

  1. 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

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

  3. 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.

  4. as i designer i use these all the time..

    800×600

    1024×768

    Full Screen

  5. 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)

  1. [...] HOW TO Quickie: Browser Resize Bookmarklet at PaulStamatiou.com // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(”authorinfo”).style.display = “”; document.getElementById(”showinfo”).style.display = “none”; document.getElementById(”hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(”authorinfo”).style.display = “none”; document.getElementById(”showinfo”).style.display = “”; document.getElementById(”hideinfo”).style.display = “none”; } [...]

Post a comment, receive Stammy points.


Send a trackback.


  • If you plan on posting code, run it through Postable first.
Copyright © 2005 - 2008 PaulStamatiou.com  Privacy Policy - Terms of Service Can't spell my name? Use PSTAM.com. Go back up ↑.