2

The screenshot beneath portrays the titled question.

enter image description here

My Attempts

I input the following 2 scripts from Reddit into my URL bar, but my Firefox and Chrome misinterpreted them as Google searches which didn't solve my difficulty.

Warning There is no way to undo this if you clear your browser history

Click the multireddit link on this page. Once you click it and get redirected, paste this into the address bar and click enter:

javascript:(function(){var%20q=[];$('.remove').each(function(){var%20that=this;var%20f=function(index){$(that).trigger('click');$(that).trigger('mousedown');setTimeout(function(){if(q[index]){q[index](index+1);}else{if(downVoteTimer){window.clearTimeout(upVoteTimer);}}},500);};q.push(f);});var%20downVoteTimer=window.setTimeout(function(){q[0](1);},50);}());

Script #2:

Try using this instead:

javascript:(function(){var%20q=[];$('.remove').each(function(){var%20that=this;var%20f=function(index){$(that).trigger('click');$(that).trigger('mousedown');setTimeout(function(){if(q[index]){q[index](index+1);}else{if(downVoteTimer){window.clearTimeout(upVoteTimer);}}},500);};q.push(f);});var%20downVoteTimer=window.setTimeout(function(){q[0](1);},50);}());

Chrome might auto remove the javascript: part so you need to manually re-add it

1
+50

I don't understand perfectly ur question. Go to this link, and open the Developper tools and put this on the console

javascript:(function(){var q=[];$('.remove').each(function(){var that=this;var f=function(index){$(that).trigger('click');$(that).trigger('mousedown');setTimeout(function(){if(q[index]){q[index](index+1);}else{if(downVoteTimer){window.clearTimeout(upVoteTimer);}}},500);};q.push(f);});var downVoteTimer=window.setTimeout(function(){q[0](1);},50);}());

if it doesn't work, you can follow this link, and try the other solutions

0

With Python and its API Wrapper for Reddit, called PRAW (Python Reddit API wrapper- https://praw.readthedocs.io/en/latest/), you can simply accomplish your goal.

import praw
reddit = praw.Reddit('user', user_agent='Bulk Unsubscribe Script') #Getting credentials from praw.ini file.
for subreddit in reddit.user.subreddits(limit=None):
    subreddit.unsubscribe()

If you follow the earlier link to PRAW documentation, it will explain to you how to set up API access for your Reddit account (very easy- you can just do it through your preferences/settings panel in Reddit) and how to log into it.

  • 1
    'Am I understanding correctly that you would like to bulk unsubscribe from all subreddits that you're currently subscribed to.' Yes. Please feel free to edit this. 'Are you familiar with Python and its API Wrapper for Reddit, called PRAW ' I'm unskilled at computers, and I'm not. Thanks though! I wish I change my whom to award that 50 bounty! – Greek - Area 51 Proposal Jun 3 '19 at 1:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.