Skip to content

Instantly share code, notes, and snippets.

@trivektor
Created December 20, 2011 07:49
Show Gist options
  • Save trivektor/1500692 to your computer and use it in GitHub Desktop.
Save trivektor/1500692 to your computer and use it in GitHub Desktop.
Greasemonkey script to customize the look and feel of Github in YOUR browser
// ==UserScript==
// @name dress_up_github
// @author http://github.com/trivektor
// @namespace dmf
// @include https://github.com/
// @include https://github.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
// ==/UserScript==
var i = Math.round(Math.random() * 6);
$("head")
.append("<link rel='stylesheet' type='text/css' href='http://trivuong.com/walls/github.css' />")
.append("<link href='http://fonts.googleapis.com/css?family=Crete+Round' rel='stylesheet' type='text/css' />")
.append("<link href='http://fonts.googleapis.com/css?family=Playball' rel='stylesheet' type='text/css'>")
$("body").css({background: "url(http://trivuong.com/walls/s" + i + ".jpg) top center fixed"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment