How to Disable Facebook’s People You May Know Feature

People You May Know / Suggested Friends

People You May Know / Suggested Friends

I’ve found Facebook’s People you may know ‘Feature’ a tad annoying to say the least, suggesting people I dont want to befriend because let’s face it, if I had wanted them as friends they would already be friends right? Facebook you’re not that smart yet I’m afraid! Plus you may just get fed up staring at the same old faces!

After searching for a while on Google I found a couple of groups on Facebook (Ironic) and read a few blog articles, however it soon became obvious that most of the workarounds don’t work anymore, so I had a think and here’s my little hack to disable this feature.

Getting it blocked

Now if you’re using Google’s Chrome or Mozilla Firefox to browse the web and have Adblock installed (What you haven’t? Sort it out.) as an addon/extension you can actually use this to block the suggested friends feature!  Although Adblock was created to, you guessed it block ads! It can also be used to block certain HTML elements on a webpage via CSS selectors. After doing a little digging around using Chrome’s built in webkit inspect we can see exactly the elements we want to target (See the screenshot below).

Facebook's Suggest a Friend HTML markup

Facebook's Suggest a Friend HTML markup

Chrome

In the Customize AdBlock tab and under the heading section ‘Block more ads:’ you’ll want to click on ‘Hide a section of a webpage’ , it’ll prompt you for two things 1. ‘Domain of page to apply on’  and 2. ‘CSS to match’

1. For the domain

www.facebook.com

2. For the CSS

div[class="ego_section"]

Then click ‘Block it!’ and you should be all done.

Test on Chrome version 16.0.899.0 dev and AdBlock version 2.4.28

Firefox

The Firefox addon is slightly different to the Chrome version so here are the instructions:

  1. Open up the Adblock Plus Preferences window
  2. Click on the ‘Add Filter …’ button at the bottom
  3. If the filter was successfully added then a new section should appear in your filter list called ‘My Element Hiding Rules’ (If this doesn’t already exists that is)
  4. Click on the OK button.
Facebook Suggest Friends Block Firefox AdBlock

Facebook Suggest Friends Block Firefox AdBlock

Tested on Firefox version 7.01 and AdBlock Plus 1.3.10

Notes (Caveats)

There are a few caveats with this workaround at the moment however:

  1. Facebook may at any time and at their discretion change or alter the HTML elements Class/ID, completing breaking our rule!
  2. You’ll loose Facebook Events on the right hand side on your profile page (These are still accessable here https://www.facebook.com/events/ )
  3. Some other features I’ve yet to notice that have broken

76 responses to “How to Disable Facebook’s People You May Know Feature”

  1. Joel says:

    Doesn’t work with the new facebook site and latest adblock and firefox at the moment. It picks up the hits in adblock but it doesn’t block it.

  2. Amir says:

    it still works for chrome

    Thanks a lot

  3. Lu Ka says:

    A filter that currently works in firefox with adblock plus is the following:

    http://www.facebook.com##div%5Bclass=“ego_unit_container”]

  4. Lu Ka says:

    Eh, the filter line got distorted after I posted it. So, do this instead: change “ego_section” in the blog post to “ego_unit_container”.

  5. it works but not on the timeline..only on wall

  6. Neil says:

    Any tips for disabling it on iPad Air. I hate “People you may know[pymk]” I tried putting X besides each person as suggested by FBook. All that happened is that I got replies from several of them accepting me as a friend. Blah. FBook Help says I can filter pymk but I can’t find where to do that. I figured I’d filter them out of existence.

  7. Mihai Samir says:

    Works great!
    Tested on Chrome Version 36.0.1985.125 m and Mozilla 31.0

  8. Steve jones says:

    I use an iPad with safari…..want to remove people you may know feature, getting very disturbing suggestions……how can I contact Facebook about this, they seem uncontactable

  9. Barry hill says:

    This works with iblocker on ios9

  10. stu shepp says:

    I absultely do NOT like fb inundating my homepage with People You May Know captions. Please stop doing it to me on facebook.

  11. Bea edwards says:

    I DO WANT THIS
    DISABLE Now

Leave a Reply to Christian N Cancel reply

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