- Browse to chrome://extensions in a non-incognito window.
- Drag the file widengithubs.user.js onto the window (the extensions list).
- Accept the security warning. Please review the script to determine that we are not, in fact, installing a malicious script.
- Find the script in the list and tick the "Allow in incognito" box for the script.
- Profit.
Last active
August 29, 2015 13:56
-
-
Save Codesleuth/9271479 to your computer and use it in GitHub Desktop.
A Widen GitHubs Userscript to widen the display of GitHub.
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 Widen GitHubs | |
// @author Esendex | |
// @match https://github.com/* | |
// ==/UserScript== | |
(function() { | |
var widenGithubs = '.container { width: 1280px; }\n' | |
+ '.container .repository-content { width: 1230px; }\n' | |
+ '.container .repository-with-sidebar.with-full-navigation .repository-content { width: 1080px; }\n' | |
+ '.container.column { width: 1092px; }\n' | |
+ '#files .diffstat+.css-truncate-target { max-width: 855px !important;}\n' | |
+ '.discussion-timeline { width: 1055px; }\n' | |
+ '.comment-holder { width: 952px !important; }\n' | |
+ '.inline-comments .comment-holder { width: 1100px !important; max-width: 1100px !important; }\n' | |
+ 'table.files td.content .css-truncate { max-width: 470px; }\n' | |
+ '.discussion-item { position: relative; margin: 15px 0 15px 104px; color: #555; width: 1100px; }\n' | |
+ '.discussion-item.discussion-commits { width: auto; }\n'; | |
GM_addStyle(widenGithubs); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Untested Javascript. Get out.