Skip to content

Instantly share code, notes, and snippets.

@sreyemnayr
Created May 22, 2018 15:44
Show Gist options
  • Save sreyemnayr/bd364eb7e5dda064e6360f5f9e944d49 to your computer and use it in GitHub Desktop.
Save sreyemnayr/bd364eb7e5dda064e6360f5f9e944d49 to your computer and use it in GitHub Desktop.
Auto-submit Alma Report Card Grades
// ==UserScript==
// @name Auto-submit Alma Report Card Grades
// @namespace https://greasyfork.org/en/users/8332-sreyemnayr
// @version 0.1
// @description When you need to edit/save every teacher's grade for the whole school.
// @author Ryan Meyers
// @match https://*.getalma.com/report-cards/batches/*/input?student=*
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(function(){
document.getElementsByClassName('submission orange')[0].parentElement.parentElement.getElementsByClassName('edit')[0].click();
setTimeout(function(){
document.getElementsByClassName('med-blue-bg')[1].click();
}, 2000);
}, 2000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment