Last active
March 2, 2017 08:12
-
-
Save bcruddy/0e997f144120d4c93255e298760fd986 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* javascript to unsubscribe from all default subs | |
* navigate to https://www.reddit.com/subreddits and then copy/paste the below snippet in the console | |
* Tested in chrome 56, minimum browser reqs: | |
* https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#AutoCompatibilityTable | |
* http://caniuse.com/#feat=arrow-functions | |
*/ | |
document.querySelectorAll('a.option.remove').forEach(a => a.click()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment