Skip to content

Instantly share code, notes, and snippets.

@pgdaniel
Created June 24, 2020 02:52
Show Gist options
  • Save pgdaniel/d267e9a634d92e4de1b0eb4fe874aa61 to your computer and use it in GitHub Desktop.
Save pgdaniel/d267e9a634d92e4de1b0eb4fe874aa61 to your computer and use it in GitHub Desktop.
Github Old Layout Tampermonkey
// ==UserScript==
// @name Github Old Look
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*
// @grant none
// @require http://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==
(function() {
'use strict';
//$('.Box').prepend("<button class='abutton'>Click</button>");
$('.Details').click(function() {
var $content = $('.gutter-condensed').children().first();
$content.toggleClass('col-md-12');
$('.BorderGrid').toggle();
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment