Created
October 28, 2017 18:00
-
-
Save aquilax/d80ab88ddfb463773b30b402429d1d0f to your computer and use it in GitHub Desktop.
This snippet hides all watched videos from the subscriptions list
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
// This snippet hides all watched videos from the subscriptions list | |
let nodes = document.querySelectorAll('ytd-thumbnail-overlay-playback-status-renderer'); | |
[].map.call(nodes, (el) => { | |
el.parentNode.parentNode.parentNode.parentNode.parentNode.setAttribute('hidden', true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment