Skip to content

Instantly share code, notes, and snippets.

@jnv
Last active September 5, 2015 21:07
Show Gist options
  • Save jnv/e401c3faac0e893c489a to your computer and use it in GitHub Desktop.
Save jnv/e401c3faac0e893c489a to your computer and use it in GitHub Desktop.
Replaces useless Facebook feed with useful kittens. https://greasyfork.org/scripts/4055-hide-facebook-news-feed
// ==UserScript==
// @id hidefbnewsfeed@jnv.gihtub.io
// @name Hide Facebook News Feed
// @description Replaces useless Facebook feed with useful kittens
// @version 2015.09.05
// @namespace http://jnv.github.io
// @domain www.facebook.com
// @include http://www.facebook.com/*
// @include https://www.facebook.com/*
// @screenshot https://gist.githubusercontent.com/jnv/e401c3faac0e893c489a/raw/screenshot.png
// @license CC0 1.0; https://creativecommons.org/publicdomain/zero/1.0/
// @grant GM_addStyle
// ==/UserScript==
var kittehs = "//thecatapi.com/api/images/get?size=med";
var style = "#stream_pagelet { min-height: 600px !important; background: url("+kittehs+") top center / contain no-repeat !important }";
style += "#stream_pagelet * { display: none !important; }"
GM_addStyle(style);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment