Script Summary: Remove hidden DOM elements (with display:none) and HTML comments
To invoke script select "Clean DOM" from user commands menu.
This script will cleanup HTML DOM. All hidden and invisible elements (with property display:none) including scripts (configurable) will be removed. It is useful if you wish to save only a visible content of a page. Especially after using "Remove selection", "Remove everything else", "Aardvark" and other page alteration addons (which actually just hide content). HTML comments <!-- like this --> also can be removed to reduce size of the page. Some stats are provided.
Look source code for configurable options.