Resizing oversize window: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (does this list make any sense?)
(tidy-up, corrected screen resolution settings, added link; added category for Mozilla Suite)
Line 1: Line 1:
* Enable JavaScript. (tools > options > content)<br>
*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. (tools > options > content > advanced JavaScript options)<br>
*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(600,400)''' into Location Bar. Hit enter.
*Type'''javascript:top.resizeTo(800,600)''' 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 1024 X 768 then instead of the above,  type: '''javascript:top.resizeTo(1024,768)'''
 
Using the appropriate numbers inside the parentheses, separated by a comma, will reset the browser window to (almost) full screen.
You can also make a bookmarklet* and place it on the Bookmarks Toolbar, so you don't have to type it more than once.
You can also make a bookmarklet* and place it on the Bookmarks Toolbar, so you don't have to type it more than once.
(*bookmarks that contain JavaScript content are called bookmarklets)
(*bookmarks that contain JavaScript content are called bookmarklets)


Note: If your screen resolution is set to 1024 X 768 then those are the numbers you type in the brackets separated by a comma.  Using your profile's screen resolution will reset the Firefox window to (almost) full screen.
[[Category:Issues (Firefox)]] [[Category:Issues (Mozilla Suite)]]
 
''Keywords: resize, resized, re-size, oversized, over-size''
 
[[Category:Issues (Firefox)]]

Revision as of 13:45, 18 June 2006

  • 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(800,600) into the Location Bar and press Enter.

Note: If your screen resolution is 1024 X 768 then instead of the above, type: javascript:top.resizeTo(1024,768)

Using the appropriate numbers inside the parentheses, separated by a comma, will reset the browser window to (almost) full screen.

You can also make a bookmarklet* and place it on the Bookmarks Toolbar, so you don't have to type it more than once. (*bookmarks that contain JavaScript content are called bookmarklets)