How To/webdev/

Why i can't change page size using JavaScript in Firefox 7 and above

As mentioned on [http://hacks.mozilla.org/2011/09/whats-new-for-web-developers-in-firefox-7/] this changed in firefox 7:

Web sites can no longer resize your main browser window

It's not longer possible for a web site to change the default size of a window in a browser, according to the following rules: