Skip to content

Instantly share code, notes, and snippets.

@mpchadwick
Created November 6, 2015 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpchadwick/a85e1929376ed338e107 to your computer and use it in GitHub Desktop.
Save mpchadwick/a85e1929376ed338e107 to your computer and use it in GitHub Desktop.
ConnectWise Text Fix
var cells = document.querySelectorAll('.day-info-cell[style^="background: rgb(0, 0, 255);"] div');
function setBackgroundWhite(element) {element.style.color = "white"}; Array.prototype.forEach.call(cells, setBackgroundWhite);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment