Skip to content

Instantly share code, notes, and snippets.

@tobobo
Created October 24, 2013 03:11
Show Gist options
  • Select an option

  • Save tobobo/7130712 to your computer and use it in GitHub Desktop.

Select an option

Save tobobo/7130712 to your computer and use it in GitHub Desktop.
Treefort browser extension
Array.prototype.slice.call(document.querySelectorAll('.author')).forEach(function(el){
if (el.innerHTML.indexOf('FuturDreamz') > 0) {
while (!!el.parentNode) {
el = el.parentNode;
if (el.nodeName === 'TR') {
el.parentNode.removeChild(el);
break;
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment