Skip to content

Instantly share code, notes, and snippets.

@benjamine
Last active December 15, 2015 07:19
Show Gist options
  • Save benjamine/5222533 to your computer and use it in GitHub Desktop.
Save benjamine/5222533 to your computer and use it in GitHub Desktop.
UserScript/GithubFullWidth
// ==UserScript==
// @name Github Full Width
// @namespace github.responsive.width
// @version 0.1
// @description make github use all your screen
// @include https://github.com/*/blob/*
// @include https://github.com/*/pull/*/files
// @include https://github.com/*/commit/*
// @copyright 2013+, Benjamin Eidelman
// ==/UserScript==
var style = document.createElement('style');
style.setAttribute('type', 'text/css');
style.innerHTML = '\
.container {\
width: 98%;\
}\
#slider .frames {\
width: 100%;\
}\
#slider .frames .frame {\
width: 100%;\
}'
document.body.appendChild(style);
@dgershman
Copy link

works on Chrome on OSX too

@dgershman
Copy link

Also GreaseMonkey on FF

@benjamine
Copy link
Author

nice, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment