Skip to content

Instantly share code, notes, and snippets.

@MightyPork
Last active August 29, 2015 14:25
Show Gist options
  • Save MightyPork/fa729fa06b95cc8ea3d8 to your computer and use it in GitHub Desktop.
Save MightyPork/fa729fa06b95cc8ea3d8 to your computer and use it in GitHub Desktop.
Fix Twitter Background
// ==UserScript==
// @name Twitter Background Fixer
// @namespace http://your.homepage/
// @version 0.1
// @description Adds your custom color and image back to twitter's background.
// @author MightyPork
// @match https://twitter.com/
// @grant none
// ==/UserScript==
var color = 'black';
var image = 'https://pbs.twimg.com/profile_background_images/378800000180754009/9E1_aiGs.png';
var css = 'body { background:'+color+' url("'+image+'") no-repeat center top fixed !important;}';
var elem = document.createElement('STYLE');
elem.textContent = css;
document.head.appendChild(elem);
// Fuck twitter's redesign
// ~ MightyPork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment