Created
November 13, 2017 07:49
-
-
Save phistuck/392fa52b57c1797f70c61c458047f57e to your computer and use it in GitHub Desktop.
Hide Irrelevant Twitter Notifications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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