Skip to content

Instantly share code, notes, and snippets.

@DavidEdwards
Created January 20, 2017 08:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidEdwards/07021876caffe564ffab17ed53c87903 to your computer and use it in GitHub Desktop.
Save DavidEdwards/07021876caffe564ffab17ed53c87903 to your computer and use it in GitHub Desktop.
Remove fluff from EvE ESI Swagger Page
// ==UserScript==
// @name Fix ESI
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Remove unnecessary content from ESI page
// @author Knossos
// @match https://esi.tech.ccp.is/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(function() {
$('#logo').remove();
$('#versions').remove();
$('#datasources').remove();
$('#bg').remove();
$('#api_info').remove();
$('#resources_container').css('max-width', 'none');
$('#resources').css('max-width', 'none');
$('#copy_buttons').css('padding-top', '0px');
$('#api_selector').css('padding-top', '0px');
$('#header').css('height', '20px');
}, 1000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment