// ==/UserScript==␊ |
// License: MIT␊ |
//␊ |
// If you feel this script was useful please send BTC donations to this address: ␊ |
// 1kqfr9hYPHTwGdMev9b538sSeyLa5h4FR␊ |
//␊ |
␊ |
␊ |
// This fixes the horriable "boxing" in the grade center␊ |
var style=document.createElement('style');␊ |
style.type='text/css';␊ |
var cssStyle = '.gbtable tbody tr td, .gbtable tbody tr th, .gbtable_header th, .gbtable thead th { padding: 0px !important; height: 0px !important; }';␊ |
|
style.appendChild(document.createTextNode(cssStyle));␊ |
}␊ |
document.getElementsByTagName('head')[0].appendChild(style);␊ |
// end fix␊ |
␊ |
// This will display all students rather than the default of 10␊ |
if (window.location.href.includes("gradebook/do/instructor/enterGradeCenter")) {␊ |
jQuery(document).ready(function () {␊ |
jQuery("#openRowEditing")[0].click();␊ |
jQuery("#numRows").val("50");␊ |
jQuery("#submitRowEditing")[0].click();␊ |
});␊ |
}␊ |
// |