Skip to content

Instantly share code, notes, and snippets.

@donokuda
Last active December 18, 2015 02:29
Show Gist options
  • Save donokuda/5711654 to your computer and use it in GitHub Desktop.
Save donokuda/5711654 to your computer and use it in GitHub Desktop.
Styles for removing news and live feed from facebook.
#pagelet_home_stream, #pagelet_bookmark_nav div, #rightCol {
display: none;
}

Silence Facebook Newsfeed and Live Feed

NOTE: Styles will not work with the updated Facebook layout.

Firefox

  1. Open the add-ons window through the Tools > Add-ons menu.
  2. Install the Stylish plug-in and restart Firefox
  3. In the add-ons window, select the User Styles tab from the left menu
  4. Click Write New Style
  5. Give it a name, create a namespace for facebook.com using the code below, and add the styles from the fakeblock.css fist where needed.

Example:

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("facebook.com") {
  // fakeblock.css styles go here.
}

Chrome

  1. Open the extension browser through the Window > Extensions menu
  2. Install Stylebot and restart Chrome
  3. Open the Extensions window again and open the options for Stylebot
  4. Under the Styles tab click Add a new style
  5. Put facebook.com for the URL and paste the styles in the fakeblock.css gist

Safari

Haven't tried it with Safari but I'm sure the directions are relatively the same.

Internet Explorer

  1. Download Chrome
  2. See instructions for Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment