Last active
January 30, 2019 22:33
-
-
Save cuducos/6ddc570b218e31f223d2e395c35626ff to your computer and use it in GitHub Desktop.
GitHub: unwatch by 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
Array.prototype.slice.call( | |
document.querySelectorAll('.js-subscription-row') | |
).map(function (row) { | |
if (row.querySelector('div:first-child').innerText.indexOf('ORGANIZARION_NAME/') >= 0) { | |
row.querySelector('button').click() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment