MozillaZine

Resizing oversize window

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 02:40, 9 February 2007
Np (Talk | contribs)
(add localstore.rdf problem, remove less helpful suggestions)
<-- Previous diff
Revision as of 15:00, 23 January 2010
FatJohn (Talk | contribs)
(relative size is prolly better)
Next diff -->
Line 2: Line 2:
*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(screen.width*0.8,screen.height*0.8)''' into the [[:Category:Location Bar | Location Bar]] and press Enter.
If after following these steps, new windows still start up too big, you may have a [[corrupt localstore.rdf]]. If after following these steps, new windows still start up too big, you may have a [[corrupt localstore.rdf]].
[[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]] [[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]]

Revision as of 15:00, 23 January 2010

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(screen.width*0.8,screen.height*0.8) 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.