MozillaZine

Resizing oversize window

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 14:10, 18 June 2006
Alice Wyman (Talk | contribs)
(changed instructions to use a smaller 640×480 resolution as some systems may still use VGA; added "bookmarklets" link)
<-- Previous diff
Revision as of 02:40, 9 February 2007
Np (Talk | contribs)
(add localstore.rdf problem, remove less helpful suggestions)
Next diff -->
Line 1: Line 1:
 +If you're having trouble resizing an oversized window:
*Enable [[JavaScript]]. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Content -> Enable JavaScript; ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator) *Enable [[JavaScript]]. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Content -> Enable JavaScript; ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator)
*Make sure scripts can resize windows. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Content -> Advanced JavaScript settings. ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins). *Make sure scripts can resize windows. (''Firefox'': [[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Content -> Advanced JavaScript settings. ''Mozilla Suite:'' Edit -> Preferences -> Advanced -> Scripts & Plug-ins).
*Type: '''javascript:top.resizeTo(640,480)''' into the [[:Category:Location Bar | Location Bar]] and press Enter. *Type: '''javascript:top.resizeTo(640,480)''' into the [[:Category:Location Bar | Location Bar]] and press Enter.
-'''Note''': If your [http://en.wikipedia.org/wiki/Screen_resolution#Common_Display_Resolutions screen resolution] is 800 X 600 then you can use '''javascript:top.resizeTo(800,600)''' and for a 1024 X 768 screen resolution, you can use '''javascript:top.resizeTo(1024,768)''' instead of the above. Using the appropriate numbers inside the parentheses, separated by a comma, will reset the browser window to (almost) full screen. +If after following these steps, new windows still start up too big, you may have a [[corrupt localstore.rdf]].
- +
-You can also make a [http://en.wikipedia.org/wiki/Bookmarklets bookmarklet] and place it on the Firefox Bookmarks Toolbar or the Mozilla Suite Personal Toolbar so you don't have to type it more than once (bookmarks that contain JavaScript content are called "bookmarklets").+
[[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]] [[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]]

Revision as of 02:40, 9 February 2007

If you're having trouble resizing an oversized window:

  • Enable JavaScript. (Firefox: Tools -> Options -> Content -> Enable JavaScript; Mozilla Suite: Edit -> Preferences -> Advanced -> Scripts & Plug-ins -> Enable JavaScript for -> Navigator)
  • Make sure scripts can resize windows. (Firefox: Tools -> Options -> Content -> Advanced JavaScript settings. Mozilla Suite: Edit -> Preferences -> Advanced -> Scripts & Plug-ins).
  • Type: javascript:top.resizeTo(640,480) into the Location Bar and press Enter.

If after following these steps, new windows still start up too big, you may have a corrupt localstore.rdf.