Created
August 17, 2020 07:03
-
-
Save GrayStrider/c483f3c2b5cdb20434530ad3f1da6b8a to your computer and use it in GitHub Desktop.
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
const $$ = (id) => document.getElementById(id) | |
const $ = (className) => document.getElementsByClassName(className) | |
setInterval(() => { | |
container = $$('like-button-renderer') | |
skipBtn = $('next-button')[0] | |
if (container.getAttribute('like-status') === 'DISLIKE') | |
skipBtn.click() | |
}, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i turned this into a chrome extension. https://github.com/Pyrolistical/skip-disliked-ytm
not going to bother publishing. you can manually install as so https://developer.chrome.com/docs/extensions/mv3/getstarted/#unpacked