Last active
October 11, 2017 09:40
-
-
Save ku/f410d98b9358429749f3c1d3344b9d60 to your computer and use it in GitHub Desktop.
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
for ( tr of document.querySelectorAll('tr[class=" "]') ) { | |
const s = tr.querySelector('select') | |
if (!s) continue; | |
const a = tr.querySelector('a') | |
a.click(); | |
var [from, to] = tr.querySelectorAll('td.td-attendance-time input') | |
from.value = '10:00'; | |
to.value = '19:00'; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment