Last active
February 14, 2020 07:27
-
-
Save RayBB/27086092a16b69f56bdcf081f0c373cc to your computer and use it in GitHub Desktop.
Unwatched all the repos you were automatically subscribed to when you joined an organization.
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
// Works on https://github.com/watching | |
// Just edit the variable below, got to the page above, and paste this code in the console. | |
// Will need to refresh and repeat if more than 100 repos | |
let unsubFrom = "buzzfeed"; // Case sensitive | |
document.querySelectorAll('.Box-row').forEach(entry => { | |
if (entry.innerText.includes(unsubFrom)){ | |
entry.querySelector('button').click() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No worries!
I think I've stumbled upon a Medium article on Google when I was searching for how I can easily unwatch an organisation's repositories.