Created
March 20, 2024 04:04
-
-
Save 20jasper/c556307ed06a1f3baf9c2878283d27c5 to your computer and use it in GitHub Desktop.
Remove from YouTube watch history
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
/* | |
Ever gotten tired of a genre of video, but youtube won't stop recommending it? | |
A friend watch 50 baby shark videos on your account? | |
This script will remove an entire page worth of YouTube history at once | |
Navigate to your history and search any term you'd like to remove, then run the script | |
`https://www.youtube.com/feed/history?query=${query}` | |
*/ | |
document.querySelectorAll("[aria-label^='Remove from']").forEach(x => x.click()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment