Created
January 20, 2017 08:56
-
-
Save DavidEdwards/07021876caffe564ffab17ed53c87903 to your computer and use it in GitHub Desktop.
Remove fluff from EvE ESI Swagger Page
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 characters
// ==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