Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Element Resizer

Makes user-specifiable elements resizable by mouse and keyboard, either in or out of the page flow or "maximized" above it.

*Note to Gmail users*: _wrapping up <iframe></iframe>s does not interact well with Gmail's dynamic use of them. I recommend that you either @exclude *mail.google.com* or that you use the Set Tags command to make sure that <iframe></iframe>s are not resizable. I have chosen the latter for the default settings._

Element Resizer allows you to dynamically resize page elements using either the mouse or the keyboard. The resizable tags can be specified by the Set Tags command, available on Firefox/Greasemonkey under Tools > User Script Commands. When focused (or hovered over), resizable elements will show a resizer handle at each corner. A handle will grow when hovered over, and the side of a resizable element will turn into a blue resizer bar when hovered over.

Resizes are always one of three general types, and can have up to two special behaviors:

In flow
The element stays in the page flow, and other elements are moved/resized as appropriate.
Out of flow
The element "floats" above other content.
Maximized
The element "floats" above other content and does not scroll with the page.
Locked aspect ratio
The aspect ratio (ratio of width to height) of the element does not change.
Centered
The center of the element does not change.

Mouse Resizing

Drag on a handle or a resizer bar to finely control the size of an element, and end the drag to keep the resize or press Escape to cancel it. This resize defaults to out of flow, and is affected by the following modifier keys:

Shift
locked aspect ratio
Control
centered
Alt
in flow

Clicking on a handle or a resizer bar also has an effect. If Shift is held, the element is toggled to/from maximized (if the element is already maximized, it is returned to the resized state, or to reset if there is no non-maximized resized state). If Shift is not held, the element is toggled to/from reset (if the element is already reset, it is returned to the resized state, or to maximized if there is no resized state).

Keyboard Resizing

(Text entry) elements can be resized with the keyboard:

Alt+Enter
in flow height increase
Shift+Alt+Enter
in flow height decrease
Control+Space
in flow width increase
Shift+Control+Space
in flow width decrease
Control+Up
centered out of flow height increase
Control+Down
centered out of flow height decrease
Control+Right
centered out of flow width increase
Control+Left
centered out of flow width decrease
Alt+Minus
toggle reset (defaulting to maximized)
Alt+Plus
toggle maximized (preferring resized over reset)

Restoring Elements

Elements can be restored to their original position and dimensions . To do so, click on a resizer handle or bar while holding Alt; or alternately press Alt+Backspace or Alt+Delete while the element has the focus. Restore all elements with the Restore All command.

Dimensions may be slightly off for elements with intrinsic dimensions, like form elements and inline frames.

h1. Changelog * **0.3.1 (2006-10-13)** ** Fixed: issue with wrapping elements of the invalid <table><form>...</form></table> construct (first reported by private_lock on 2006-10-04; found on "http://single.de/msg.html":http://single.de/msg.html) * **0.3 (2006-06-02)** ** New: allowed differentiation of input tags by type (input:text, input:password, etc.) ** Improved: changed out of flow horizontal keyboard resizing to free up control+left and control+right * **0.2.1 (2005-12-07)** ** Updated: changes for compatibility with Gmail * **0.2 (2005-12-07)** ** New: added "automatic updating":http://userscripts.org/scripts/show/2296 * **0.1 (2005-11-22)** ** original release



Jun 5, 2008
xafwodahs User

I went from FF2 to FF3rc2, and this script seems broken now :( Resizing text boxes seems very chaotic, if it works at all. I always used this script as an example when telling people why Firefox was so cool. Hopefully, a fix will appear eventually.

 
May 10, 2008
private_lock Scriptwright

Won't work in FF 3.0beta5 anymore :-(

On first mouse over the element is ripped from the pageflow, obscuring following elements behind it. No matter where you drag the markers, the textbox will stay fixed in size and only move over the page along with the upper left corner.

 
Sep 13, 2007
brasilius Scriptwright

thanx for a great script
really helps
решение задач по предмету высшая математика

 
Oct 14, 2006
Richard Gibson Script's author

private_lock: Thanks for the bug report. The issue was not caused by anything that I changed, but by the strange HTML on that site. This version (0.3.1) should correct the problem wherever it arises.

 
Oct 4, 2006
private_lock Scriptwright

BUGREPORT:

After updating to current version I'm unable to send messages on http://single.de/msg.html

Element resizer somehow interferes with their script to extract the text. The Java-Script-Consol shows now errors, just 3 warnings: "Error with 'display'. Declaration ignored." (my translation from german)

Any ideas, what you've changed, that might result in such an error? It used to work with version 0.2.1 (2005-12-07)

thanks
private_lock

 
Jun 2, 2006
Richard Gibson Script's author

Heino: done.

Hemal: Sorry about that. I have given back control+right and control+left; to resize horizontally with the keyboard you now use shift+control+up and shift+control+down. I don't have a good interface for customizing the bindings, but if you know javascript you can do it yourself by editing the keypress handler (it starts at line 601). Please email me if you need help or have a specific request.

Also, I recommend that anyone who does not already have User Script Updates (http://userscripts.org/scripts/show/2296) download it now. It would have automatically notified you of this update :-).

 
Mar 15, 2006
Hemal Pandya User

Great script. Very useful for me. I have to use the Web interface of Domino, whose mail compose pop-ups have a fixed size, small textarea. Now I can widen it.

But why hijack control-right/left? I have all the more need for them while editing, now that I have a wider textarea.

Really appreciate if you can make the bindings customizable, even some instructions on how the script can be tweaked to do that.

 
Jan 31, 2006
Heino User

great script!
but the input-tag... can you enable to handle the different types like checkbox, radio, text and submit seperatly?!
Some pages can't handle the checkbox and radio the right way when the input-tag is resizable generally.

 
Jan 6, 2006
eanklin User

Took me a little while to figure out how this works... a list of elements that can be added to the "Set Tags" menu would be nice for those of us who are Java illiterate. Thanks!!

 
Dec 7, 2005
AWK User

Great script! However, with this script activated GMail stays blank.

You could comment on this script if you were logged in.