A lot of people noticed that FB status updates posted from the new Facebook Iphone application, were getting blocked by the Facebook Purity script, so I’ve updated the script to fix this. At the same time i’ve built in functionality to make it easier to “whitelist” any other third party applications you like.
By default the script now allows the following “external” applications to post messages to your homepage: “FB Iphone app“, “Selective Twitter” and a few other useful “non spammy” apps, you can see the full list in the script if you are curious.
You can edit or add/remove applications to and from this list quite easily, you just need to know the application ID of the app you want to whitelist. You can find its ID by going to the application’s homepage, by clicking the applications icon, then looking at the URL. The applications ID is the numerical bit after “application.php?id=” e.g say i wanted to add the “Honesty Box” application to the whitelist, i would go to the “Honesty Box” application page, and look at the URL, which should look something like : “http://www.facebook.com/apps/application.php?id=2552096927&ref=nf” well the ID for that application would be 2552096927
If the application page URL doesnt have an ID in it, go to the applications Wall or Info page, that page should have the application’s ID in it. Or failing that, look for the “Block Application” link, the application ID will be definitely be embedded in that link. Another place to look for the application ID is in the “posted via someapplication” link at the bottom of the application post in your feed, if you hover your mouse over that link, it will probably display the application ID in the status bar (the bottom right hand corner of your browser)
Now to edit the script, you need to open the “Manage User Scripts” window, you can access this via the Firefox “Tools/Greasemonkey/Manage UserScripts” menu. Select Facebook Purity in the left hand column, then click the “Edit” button, this should open the script in a text editor. Now look for the line that looks like :
var whitelist=”6628568379,115463795461,48187595837″;
this is the “whitelist” or list of applications (ids) that facebook purity will allow to display messages on the homepage. You can add or remove whatever application ids you like here, just make sure they are separated by a comma (no spaces) and the line ends in “; as above. Make your changes, and once you have finished, save the file.
Now go back to your facebook homepage and reload the page, the changes you have made should work straight away.
To edit the script in Chrome, Opera or Safari you first need to find the scripts directory on your computer, once there, just edit the script as above, and save it, and thats it.
If this script has helped you out, why not thank the author, by making a donation, big or small, anything is welcome 
N.B If you are using firefox and click the edit button and a “file open” dialog box appears, it means you need to locate the text editor you wish to use, in your file system.
If you are using Windows XP or Vista, you can choose “notepad” which is located at C:\Windows\system32\NOTEPAD.exe
If you are using Windows 7, you can choose “notepad” which is located at C:\windows\syswow64\notepad.exe
If you are using Windows 2000, you can choose “notepad” which is located at C:\Winnt\system32\NOTEPAD.exe
If you are using an Apple Mac the text editor is located at /Applications/TextEdit.app
If you are using Ubuntu the text editor is located at /usr/bin/gedit
other Linux variations will most likely have a similar editor in the /usr/bin/ directory.
N.B If nothing happens when you click the edit button or if you want to change the default editor, then you need to follow these steps:
1) type about:config in the firefox address bar and press enter.
2) type greasemonkey in the filter box at the top of the page
3) right click on greasemonkey.editor and click Modify
4) now enter the path to the text editor application you want to use (see above for examples)
5) thats it, from now on, when you click edit in the manage userscripts menu, the script should open in your chosen editor.
Related Articles :