How to Edit Which Extra Stories are Shown or Hidden on Facebook by the Facebook Purity Script



I decided to write a guide for people who would like to see certain “Extra” story types that currently get hidden by the Facebook Purity Greasemonkey script.

Heres how you can alter your copy of the script to display the stories you want to see.

The section of the code you need to edit is close to the top of the script and is shown below.


// EXTRA STORIES
var JOINED_GROUP_STORY = 21 ;
var BECAME_FAN_STORY = 161 ;
var BECAME_FRIENDS_STORY = 8 ;
var ATTEND_EVENT_STORY = 38 ;
var ATTEND_EVENT_STORY2 = 178 ;
var ATTENDED_EVENT_STORY = 1 ;

Basically if you want to see a particular “extra” story type, just change the value after the “=” sign to
zero (0).

For example if you want to see all “attending event” stories, just change the following lines of code


var ATTEND_EVENT_STORY = 38 ;
var ATTEND_EVENT_STORY2 = 178 ;
var ATTENDED_EVENT_STORY = 1 ;

to


var ATTEND_EVENT_STORY = 0 ;
var ATTEND_EVENT_STORY2 = 0 ;
var ATTENDED_EVENT_STORY = 0 ;

if you want to see all “became a friend” stories, change the following line of code


var BECAME_FRIENDS_STORY = 8 ;

to


var BECAME_FRIENDS_STORY = 0 ;

if you want to see all “became a fan” stories, you would change the following line


var BECAME_FAN_STORY = 161 ;

to


var BECAME_FAN_STORY = 0 ;

And its the same for “joined a group” stories.

If you want to hide “commented on status” or “likes status” type messages, find the following bit of code:


var COMMENTED_ON_OR_LIKES_STATUS_STORY = 0 ;

and change it to:


var COMMENTED_ON_OR_LIKES_STATUS_STORY = 11 ;

For info on how to edit the application whitelist, i.e which applications you dont want to be hidden by the script, and also how to set up a text editor for actually editing the script, please see my previous article : Editing the Facebook Purity Whitelist.

Related Articles:

Related posts:

  1. Facebook Purity v2.1b – fixes display bug, facebook android added to whitelist
  2. F.B. Purity v4.3.0 – Adds Delete Recent Activity Button, App + Extra Filters now work on Profile pages
  3. Facebook Purity – Minor Update – Optimised the Script
  4. F.B. Purity Script Update: v3.9.5 – Can now hide “now using new profile” stories
  5. Fluff Busting Purity removes annoying quiz messages and application spam from your Facebook Homepage

4 Responses to “How to Edit Which Extra Stories are Shown or Hidden on Facebook by the Facebook Purity Script”

  1. I just figured this out myself by Reading The Friendly Code but it’s great you made these instructions available so everybody doesn’t have to do the same… :)

  2. I love this script and will donate. Is there a way to block seeing when people post on someone else’s wall?

  3. Also, I can’t seem to get it to stop showing “tagged in or commented on photo” stories. I haven’t changed the default value in the script for that.

  4. Janice, at present wall posts, tagged in, or commented on photo stories are not blocked by the script. i might add these options in a later version of the script though.

    *UPDATE* these features are now in the latest version of the script.