Resizing oversize window: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(allow scripts to resize windows, lil cleanup)
m (terminology and capitalization)
Line 1: Line 1:
Enable Javascript. (tools > options > content)<br>Make sure scripts can resize windows. (tools > options > content > advanced JavaScript options)
Enable JavaScript. (tools > options > content)<br>Make sure scripts can resize windows. (tools > options > content > advanced JavaScript options)


Type '''javascript:top.resizeTo(600,400)''' into address bar. Hit enter.
Type '''javascript:top.resizeTo(600,400)''' into Location Bar. Hit enter.


You can also make a bookmarklet* and place it in the Bookmarks Toolbar with this Javascript, 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)



Revision as of 23:39, 16 June 2006

Enable JavaScript. (tools > options > content)
Make sure scripts can resize windows. (tools > options > content > advanced JavaScript options)

Type javascript:top.resizeTo(600,400) into Location Bar. Hit enter.

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)

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.

Keywords: resize, resized, re-size, oversized, over-size