Reddit: Left outline comments

By George Saunders Last update May 27, 2008 — Installed 131 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1
// ==UserScript==
// @name          Reddit: Left outline comments
// @description   Left outline comments on Reddit.com to make discussions easier to follow.
// @include       *reddit.com*
// ==/UserScript==

divs = document.getElementsByTagName("div")
for (var i=0; i<divs.length; i++) {
    if (divs[i].className.match("comment") == "comment") {
	if (divs[i].className.match("commentbody") != "commentbody"){
	    divs[i].style.borderLeft="thin dotted #AAAAAA"
	}
    }
}