Database: Fold Comments
|About||http://userscripts.org/scripts/show/19344 is just begging to become a WeData-backed extension. What it does? It folds up large comment sections in web pages you visit (and unfolds, if you like), so you get a feel for how long the web page or article itself is by peeking at the window scrollbar.
The rules property is a JSON DOM spec that describes all foldable sections in the page, giving each a name, a "from" and "to" element, and an optional "items" array enumerating the respective individual items themselves, with css and/or xpath selectors, in the format https://gist.github.com/3957352 defines.
Alternatively, if the rules property is a URL, it references another wedata item (which has a non-url rules property), inheriting the rules dom spec it carries.
|Optional keys||domain example_url|
|Permit other keys||true|
|Created by||Johan Sundström|