Created
October 21, 2013 15:43
-
-
Save illepic/7086012 to your computer and use it in GitHub Desktop.
Sometimes you end up in a GitHub organization with many repos you don't need to watch (but can't leave the organization). To mass unsub from all repos: 1) visit https://github.com/watching, 2) open the inspector console (command+alt+j) and paste in the code below, 3) change 'name_of_org" to the name of the organization you want to unsubscribe fr…
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
var unwatchme = 'name_of_org'; | |
jQuery('.subscription-row').each(function(){ | |
if (jQuery('a[href*="' + unwatchme + '"]', jQuery(this)).length > 0) { | |
jQuery('.js-unsubscribe-form .minibutton', jQuery(this)).click(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment