Skip to content

Instantly share code, notes, and snippets.

@jjthrash
Created January 5, 2016 19:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjthrash/671d22982152d5e68985 to your computer and use it in GitHub Desktop.
Save jjthrash/671d22982152d5e68985 to your computer and use it in GitHub Desktop.
User script to hide Facebook Trending stuff
// ==UserScript==
// @name Remove FB Trending
// @namespace com.jimmythrasher.removetrending
// @include https://www.facebook.com/*
// @version 1
// @grant none
// ==/UserScript==
function doItDude() {
var it = document.getElementById("pagelet_trending_tags_and_topics");
it.outerHTML = "";
}
window.addEventListener('load',
doItDude,
false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment