Skip to content

Instantly share code, notes, and snippets.

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 kellenmace/27973acd8ed4801505813bbd5c0e48c3 to your computer and use it in GitHub Desktop.
Save kellenmace/27973acd8ed4801505813bbd5c0e48c3 to your computer and use it in GitHub Desktop.
Forecast Expand Row Tampermonkey Script
// ==UserScript==
// @name Expand Forecast Row
// @version 1.0
// @description Expand Forecast Row
// @author Kellen Mace
// @match https://forecastapp.com/485680/schedule/team*
// @grant none
// ==/UserScript==
(function(document) {
setTimeout( function() {
const teamRows = document.querySelector('.team-rows' );
const kellenIndex = Array.from(teamRows.querySelectorAll('.row-info h3')).map(person => person.innerText).indexOf('Kellen Mace');
teamRows.querySelectorAll('.row-info')[ kellenIndex ].click();
// jQuery('#ember878').click();
}, 3000 );
})(window.document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment