click here for the floating webcam
Mark Shields
Super Genius
Bio Journal Movies Photography Portals Wishlist

Disclaimer: The views and opinions expressed here are my own only and in no way represent the views, positions or opinions - expressed or implied - of my employers both past and present.

« us versus them | Main | markshields.org is mine! »

want to hide the Facebook Highlights section?

2009.04.18 21.33

Don't like the Highlights section on Facebook?

If you don't have Firefox yet, click here to download it. Next start Firefox and click here to install the GreaseMonkey Plug-in. Last click here to install the script. You may have to hit the F5 key to get it to kick in. If it isn't working then make sure you have GreaseMonkey enabled by going to Tools, GreaseMonkey, and making sure ''Enabled'' is checked.

Want to know what it's doing?
// ==UserScript==
// @name        Highlights Hider
// @author      Mark Shields
// @namespace	http://markshields.com/
// @description This script will hide the highlights section on Facebook
// @include       http://*.facebook.com/*
// ==/UserScript==

// first let's look for all the DIVs (aka sections) on the page
myDivs = document.getElementsByTagName('DIV');

// next we'll loop through all of them to find one classified as UIHotStream
// which apparently is what Highlights is really called
for (counter=0; counter < myDivs.length; counter++) {
	if (myDivs[counter].className == 'UIHotStream UIStream') {

                // we found a match so we replace all of the HTML with this:
 		myDivs[counter].innerHTML = 'Hidden by Mark Shields - Super Genius';

	}
}


Facebook Highlights Hider

« us versus them | Main | markshields.org is mine! »

Bio Journal Movies Photography Portals Wishlist


© Mark Shields

All rights reserved.
Reproduction of content without prior written consent is prohibited.