Samuel Liew's Blog

News, events, and other interesting finds

Do you have too many friends on facebook that you don’t know? Now you can remove them simply by visiting their profiles. I wrote a Greasemonkey script that will help you do exactly that, and another that helps you add instead of delete.

What is Greasemonkey?

Greasemonkey allows you to customize the way a webpage displays on Firefox using small bits of JavaScript. Hundreds of scripts, for a wide variety of popular sites, are already available at

Greasemonkey is a Mozilla Firefox add-on that allows users to install scripts that make on-the-fly changes to HTML web page content on the DOMContentLoaded event, which happens immediately after it is loaded in the browser (also known as augmented browsing). As Greasemonkey scripts are persistent, the changes made to the web pages are executed every time the page is opened, making them effectively permanent for the user running the script.

Where to get Greasemonkey?

Get the two scripts!

Script to auto delete friends:

Script to auto add friends:

Don’t forget to disable the scripts when you are not using them, or else you will accidentally delete your real friends, or add people you don’t know!!!

You may also like: