Skip to content

Instantly share code, notes, and snippets.

@ryankshaw
Created January 17, 2012 23:54
Show Gist options
  • Select an option

  • Save ryankshaw/1629863 to your computer and use it in GitHub Desktop.

Select an option

Save ryankshaw/1629863 to your computer and use it in GitHub Desktop.
save this as a bookmarklet
javascript:var%20nodes%20=%20window.frames[0].document.querySelectorAll(%27.spec.passed%27);for%20(var%20i=0;%20i%20<%20nodes.length;%20i++)%20{var%20node%20=%20nodes[i];node.parentNode.removeChild(%20node%20);}var%20headers%20=%20window.frames[0].document.querySelectorAll(%27.example_group%27);for%20(var%20i=0;%20i%20<%20headers.length;%20i++)%20{var%20header%20=%20headers[i];if%20(!header.querySelector(%27.failed%27))%20header.parentNode.removeChild(%20header%20);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment