If you are like me, and you spent the last three years hiding every user you viewed / messaged so you wouldn’t waste your time viewing them again, but then decided you wanted to see all those users and found out OKCupid doesn’t offer a mass unhide function, you may have thought you were out of luck. However, with a few simple steps you can mass unhide all of them! This method SHOULD work, unless OKCupid has changed dom elements. If that happens, you may need to edit the javascript or reach out to me and ask me to update this post!

Disclaimer: I offer no warranty on this code or it’s effects. Use at your own risk.

Step #1: Get Google Chrome
Step #2: Go to the Chrome Web Store and get CJS ([[ Web Store Link ]]
Step #3: Go to your hidden users area in OKCupid.
Step #4: Click the CJS icon up by your address bar.
Step #5: Copy the following Javascript EXACTLY into the area and hit save (you may need to edit out anything added during the copy and paste operation, sometimes my plugins add little text to show where it was copied from– view the source code and find this <pre&gt tag and copy it from there if you want to make it easier).

javascript:var x = document.getElementsByClassName("flatbutton");console.debug(x);
for (i = 0; i <x.length; i++)
{
	var evnt = x[i]["onclick"];

	if (typeof(evnt) == "function") 
	{
		evnt.call(x[i]);
	}
}

Then hit save.

It should start running. Hitting hide also refreshes the page and since your code is executed upon page load, it is like an automatically running unhide. If you have a LOT of hidden users (I managed to hide 13,000 of them) it may take awhile.

Step #6: Disable CJS or click the icon and delete the javascript code and hit save when you are done.
Step #7: Leave a comment on this post about how awesome it worked for you (or didn’t work).

Tagged on:                     

14 thoughts on “Mass Unhide All Users on OKCupid

  • March 17, 2015 at 5:51 pm
    Permalink

    This was really helpful.
    Thank you

    Reply
  • April 1, 2015 at 5:42 pm
    Permalink

    It’s humming along nicely. Thank you!

    Reply
  • June 3, 2015 at 7:03 pm
    Permalink

    Good stuff man. it helped a lot! follow instructions and you’ll be fine

    Reply
  • August 12, 2015 at 4:26 am
    Permalink

    As of today, August 12th, 2015, this code works like a charm. Thanks!

    Reply
  • November 1, 2015 at 5:47 pm
    Permalink

    At first it didn’t work because the C&P turned the < into < so keep any eye out for that if you get an error on line 2.

    I also added window.location.reload() before that last brace, so it would refresh itself and I didn't have to refresh 170 times.

    Reply
    • November 1, 2015 at 5:50 pm
      Permalink

      Dammit. It turne < into "& l t ;" but without the spaces.

      Reply
  • January 4, 2016 at 8:15 pm
    Permalink

    Entered just the code (removed the web link that is not visible in the code presentation above, but ends up on the clip board). Code works, but only for one page of results at a time. 25 users per page. 198 pages in my case. Just had to keep running it 198 times. That beats manually selecting 5000 users. Thank you.

    Reply
    • March 5, 2016 at 8:22 am
      Permalink

      As chris mentioned, it currently errors after the last one so stops after one page. I edited the script to automatically reload the page at the end so it should now do them all.

      “`
      var x = document.getElementsByClassName(“flatbutton”);console.debug(x); for (i = 0; i -1 ) ? true : false;
      if(isHideButton) {
      evnt.call(x[i]);
      }
      else {
      location.reload();
      }
      }
      }
      “`

      Reply
      • March 5, 2016 at 8:23 am
        Permalink

        var x = document.getElementsByClassName(“flatbutton”);console.debug(x); for (i = 0; i -1 ) ? true : false;
        if(isHideButton) {
        evnt.call(x[i]);
        }
        else {
        location.reload();
        }
        }
        }

        Reply
    • November 16, 2016 at 1:05 am
      Permalink

      Brillo made a monkey of him a few weeks ago. Really pulled his pants down on expenses.But I agree he gets a lot of coverage and airtime. Because he gives good copy I reckon rather than a sinister bbc plot. But I guess that’s the explanation you need if you think the BBC is always slanted to the left in its cop;bage.&nbspe&nbsv;&nrsp;2 likes

      Reply
  • May 17, 2017 at 2:50 pm
    Permalink

    I must say it was hard to find your site in search results.
    You write awesome articles but you should rank your website higher in search engines.

    If you don’t know how to do it search on youtube: how to rank a
    website Marcel’s way

    Reply
  • August 13, 2017 at 11:22 am
    Permalink

    Doesn’t seem to work following the recent changes to OkCupid.

    Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Close
loading...