Skip to content

Instantly share code, notes, and snippets.

@jayme-github
Created December 21, 2017 12:50
Show Gist options
  • Select an option

  • Save jayme-github/4f54d183b4d5f689e3521eae3f2e7456 to your computer and use it in GitHub Desktop.

Select an option

Save jayme-github/4f54d183b4d5f689e3521eae3f2e7456 to your computer and use it in GitHub Desktop.
Give charts on bittrex more room
// ==UserScript==
// @name Bittrex - MoreChart
// @namespace https://github.com/jayme-github/
// @include https://bittrex.com/Market/Index*
// @version 1
// @grant none
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
var rowChart = $("#rowChart");
var chartCol = rowChart.find('div.col-md-8');
var statsCol = rowChart.find('div.col-md-4');
// Remove useless info row
rowChart.prev().remove();
// move tabs to the stats column, more space for chart
rowChart.find("#tab-wrapper").prependTo(statsCol);
// higher chart
rowChart.find("#ifrm").css('min-height', '650px');
// wider chart
chartCol.removeClass('col-md-8');
chartCol.addClass('col-md-10');
statsCol.removeClass('col-md-4');
statsCol.addClass('col-md-2');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment