Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hide Irrelevant Twitter Notifications
javascript:(function() {
var node, array = [], iterator = document.evaluate("//li[contains(@class, 'js-stream-item') and .//span[contains(@class, 'Icon--magicrecs')]]", document);
while (node = iterator.iterateNext()) {
array.push(node)
}
for (x of array) {
x.style.cssText += "visibility: hidden !important";
}
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment