Facebook: Remove 'Recent Activity'

By lchau Last update Apr 11, 2011 — Installed 50,970 times.

Script Summary: Adds a simple button beneath your profile image to remove 'Recent Activities'



Thumb

Note: Because of how facebook displays/renders data, sometimes a page will need to be reloaded for the button to appear or you can use the "User Script Command" from the GreaseMonkey icon (status bar)

Defaulted to using jQuery 1.3.2 because of a change in browser 
sniffing code in jQuery 1.4 is not compatible with Greasemonkey (?) 
without some modifications, see below on getting jQuery 1.4 to work:

Edits
  jquery-1.4.1.min.js:
    [old]  36: var o=r.createElement("div");n="on"+n;var m=n in o;
    [new]  36: var o=r.createElement("div");n="on"+n;var m=true;

  jquery-1.4.1.js
    [old] 934: var isSupported = (eventName in el); 
    [old] 934: var isSupported = true;

Comment out commented code (1.3 <-> 1.4) and reload.

This script has been abandoned as of 9/22/2011 due to the advent of timeline:
http://www.facebook.com/timeline

Forks:
http://userscripts.org/scripts/show/92664
http://userscripts.org/scripts/show/97794
http://userscripts.org/scripts/show/98626
http://userscripts.org/scripts/show/106713
http://userscripts.org/scripts/show/119820