Skip to content

Instantly share code, notes, and snippets.

@illepic
Created October 21, 2013 15:43
Show Gist options
  • Save illepic/7086012 to your computer and use it in GitHub Desktop.
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…
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