Created
January 20, 2015 07:53
-
-
Save zehua/a9f0def0c88374a29809 to your computer and use it in GitHub Desktop.
Unwatch all repositories under 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
// select all unwatch buttons and filter by those belonging to THEORG | |
// replace THEORG below with your own organization name | |
// visit https://github.com/watching then run the script in dev tool console | |
$('button:contains("Unwatch")').each(function() { | |
var $a=$(this).parent().siblings("a:contains('THEORG/')"); | |
if ($a.length == 1) { | |
$(this).click(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment