Revisions
-
chrisclark revised this gist
Jul 14, 2014 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,11 @@ // Files to suppress: suppressFiles([ "themes/eP/static/css/ui/stylesheets/app.css", "themes/eP/static/css/ui/stylesheets/base/base.css", "themes/eP/static/css/ui/stylesheets/static-pages/authentication.css", "themes/eP/static/css/ui/stylesheets/static-pages/error-pages.css", "themes/eP/static/css/ui/stylesheets/static-pages/seo-pages.css" ]); // Call resize on the specified files: @@ -23,4 +26,4 @@ function suppressFiles(path){ function resizeDiff(obj) { obj.style.height = "200px"; obj.style.overflow = "auto"; } -
v-dimitrov created this gist
Feb 4, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ // ==UserScript== // @name GitHub Suppress Diffs // @version 2013.10.29 // @namespace FET // @description Suppress style.css // @include http*://github.com/* // ==/UserScript== // Files to suppress: suppressFiles([ "telerik/css/style.css", "documentation/styles/css/theme.css" ]); // Call resize on the specified files: function suppressFiles(path){ for (var url in path) { resizeDiff(document.querySelector('.meta[data-path="' + path[url] + '"]').nextElementSibling); } } // Resize the diff area in github: function resizeDiff(obj) { obj.style.height = "200px"; obj.style.overflow = "auto"; }