NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Remove no-color class // @namespace Violentmonkey Scripts // @match https://one.newrelic.com/dashboards?* // @grant none // @version 1.4 // @author Prashant Sinha // @description 12/09/2022, 4:00:00 PM // @license MIT // ==/UserScript== setInterval(removeNoColorClass, 1500); function removeNoColorClass() { // find relative change elements var relChangeElements = document.querySelectorAll("span[class*='viz-billboard-relative']"); // for each element... relChangeElements.forEach(function (element) { // get random prefix var prefix = element.classList[0].substring(0, 6); // remove no-color class element.classList.remove(prefix + '--vz--viz-billboard-relative--no-color'); }); }