Skip to content

Instantly share code, notes, and snippets.

@Amzd
Created April 25, 2019 10:04
Show Gist options
  • Save Amzd/cc8f59afa86844b48cc93d792ca687c0 to your computer and use it in GitHub Desktop.
Save Amzd/cc8f59afa86844b48cc93d792ca687c0 to your computer and use it in GitHub Desktop.
Disables the line charts on the live tracker page, there is too many of them and they make the page lag.
// ==UserScript==
// @name Tracker Network Disable Live Line Charts
// @namespace https://rocketleague.tracker.network
// @version 0.1
// @description Disables the line charts on the live tracker page, there is too many of them and they make the page lag.
// @author You
// @match https://rocketleague.tracker.network/live*
// @grant none
// @run-at document-start
// @require http://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==
// The charts are extremely laggy because they get called every second. (Why?! The data is only updated once every 4 minutes?!?!)
// This twice a second is better than every graph once a second right?
setInterval(function() {
Highcharts.SparkLine = function (a, b, c) {};
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment