How To: Stop Websites From Resizing Your Browser Window

If you’re tired of websites resizing your browser window, rest your weary head. In Firefox, you can disable website’s abilities to do this with Javascript:

  1. Tools-> Options (Firefox -> preferences or ⌘, on OS X)
  2. Select the “Content” tab.
  3. Click on the “Advanced” button across from “Enable JavaScript”.
  4. Uncheck the “Move or resize existing windows” checkbox.

Thanks to reddit user libertao, another one of the many bits of knowledge I’ve learned from comments on reddit.

  • Sweet. I'm using FF 3.5.7 on a Mac, so I found it under Firefox>Preferences, but it's still a handy tip.

  • ohryan

    Duh. Thanks. Updated the post to reflect this.