#StackBounty: #reddit How do I simultaneously unsubscribe from all subreddits, without clicking each 'Unsubscribe' button?

Bounty: 50

I input the following 2 scripts from Reddit into my URL bar, but my Firefox and Chrome misinterpreted them as Google searches, and redirected to the Google results for that input.

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

The screenshot beneath portrays the titled question.

enter image description here


Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.