Skip to content

Instantly share code, notes, and snippets.

@nagataka
Created October 7, 2013 05:35
Show Gist options
  • Save nagataka/6862979 to your computer and use it in GitHub Desktop.
Save nagataka/6862979 to your computer and use it in GitHub Desktop.
Greasemonkey script for removing ad from facebook
// ==UserScript==
// @name remove_add.user.js
// @namespace http://nagataka.net/remove_add.user.js
// @include http://*.facebook.com/*
// @include https://*.facebook.com/*
// @version 1
// @grant none
// ==/UserScript==
var rightCol = document.getElementById("rightCol");
rightCol.parentNode.removeChild(rightCol);
document.getElementById("contentArea").style.width = '760px';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment