Created
November 6, 2021 23:19
-
-
Save THEMVFFINMAN/1a194439a9f765ce976fa02d582a632c 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
/* | |
Lets you clean up your Garbage Youtube Recommendations | |
This just clicks the 'Not Interested' button on each video in your youtube recommendations. | |
Probably doesn't work if you are recommended a playlist. | |
*/ | |
for (let i = 0; i < 10; i++) | |
{ | |
interval(i); | |
} | |
function interval(i) { | |
setTimeout(function() { | |
var newnumber = i + 5 + (2*i); | |
document.getElementsByClassName("style-scope ytd-menu-renderer")[newnumber].click(); | |
document.getElementsByClassName("style-scope ytd-menu-service-item-renderer")[9].click(); | |
}, 500 * i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment