Thursday, September 29, 2011

Greasemonkey Script to Remove Facebook in Facebook plus more

Here's a simple script to remove the right hand column on Facebook, which has Facebook-in-Facebook, adverts and crap, also Greasemonkey is easy.

// ==UserScript==
// @name           Remove Facebook Right Column
// @namespace      http://sarkies.blogspot.com
// @description    Remove all the pointeless stuff in the right column, the ad's, the facebook-in-facebook, and duplicated events
// @include        http://*.facebook.com/*
// @include        https://*.facebook.com/*
// ==/UserScript==

var rightColumn = document.getElementById('rightCol');

if(rightColumn) {
 rightColumn.parentNode.removeChild(rightColumn);
}
Download

Download the script or copy and save it as rightCol.user.js and drag and drop it in to Chrome and/or Firefox (if you have Greasemonkey enabled) go to Facebook. Rejoice.