Last active
September 13, 2019 01:09
-
-
Save paulera/e78fa4118b7e8dc46ae507e241c1a9e5 to your computer and use it in GitHub Desktop.
Snippet to dislike all comments in a Youtube video
This file contains hidden or 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