Skip to content

Instantly share code, notes, and snippets.

@johnniehard
Created March 20, 2020 12:20
Show Gist options
  • Save johnniehard/a6790215dcf441e642a9514556bfddcc to your computer and use it in GitHub Desktop.
Save johnniehard/a6790215dcf441e642a9514556bfddcc to your computer and use it in GitHub Desktop.
kör alla tasks i EE webbklienten
function runTaskList() {
//1. task local type-EXPORT_FEATURES awaiting-user-config
//2. task local type-EXPORT_IMAGE awaiting-user-config
var tasklist = document.getElementsByClassName('awaiting-user-config');
for (var i = 0; i < tasklist.length; i++)
tasklist[i].children[2].click();
}
// confirmAll();
function confirmAll() {
var ok = document.getElementsByClassName('goog-buttonset-default goog-buttonset-action');
for (var i = 0; i < ok.length; i++)
ok[i].click();
}
runTaskList();
confirmAll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment