Skip to content

Instantly share code, notes, and snippets.

@jlewin
Created May 24, 2022 17:14
Show Gist options
  • Save jlewin/f92d3d2ba36e8d5a8187b700f74787f4 to your computer and use it in GitHub Desktop.
Save jlewin/f92d3d2ba36e8d5a8187b700f74787f4 to your computer and use it in GitHub Desktop.
Filter Canvas/Pearson grades to non-perfect scores
document.querySelectorAll(".screenreader-only").forEach(e => e.remove());
document.querySelectorAll('#grades_summary tr.student_assignment').forEach(r => {
if (r.cells[3].innerText === r.cells[4].innerText) {
r.style.display = 'none';
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment