Created
October 4, 2018 20:49
-
-
Save kellenmace/27973acd8ed4801505813bbd5c0e48c3 to your computer and use it in GitHub Desktop.
Forecast Expand Row Tampermonkey Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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