Last active
August 29, 2015 14:25
-
-
Save MightyPork/fa729fa06b95cc8ea3d8 to your computer and use it in GitHub Desktop.
Fix Twitter Background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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