// ==UserScript== // @name GitHub - Toggle blobs in compare view // @namespace http://your.homepage/ // @version 0.1 // @description enter something useful // @author DrKnoxy // @match https://github.com/*/*/compare/* // @grant none // @downloadURL none // ==/UserScript== $('.blob-wrapper').hide(); $('.file-header').click(function(e){ $(this).next('.blob-wrapper').toggle(); })