Last active
September 13, 2019 01:09
Star
You must be signed in to star a gist
Snippet to dislike all comments in a Youtube video
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
/** | |
* 1. Open a youtube video | |
* 2. Keep scrolling down unitl all comments are shown | |
* 3. Right click | |
* 4. Select inspect | |
* 5. Open the Console tab | |
* 6. Copy and paste the code below and press enter | |
**/ | |
document.querySelectorAll("ytd-toggle-button-renderer#dislike-button").forEach(function(elem) { elem.click(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment