Skip to content

Instantly share code, notes, and snippets.

@bakkot
Created February 10, 2015 20:01
Show Gist options
  • Save bakkot/01ce8967945690ddd4cf to your computer and use it in GitHub Desktop.
Save bakkot/01ce8967945690ddd4cf to your computer and use it in GitHub Desktop.
SSC Collapse top-level threads
javascript:(function(){cs=document.querySelectorAll('.depth-1 > .commentholder a.comment-reply-link:last-child');cs=Array.prototype.slice.call(cs);cs.reverse();cs.forEach(function(c){commentToggle.call(c);});})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment