Skip to content

Instantly share code, notes, and snippets.

@onyxiarivera
Created June 10, 2026 03:30
Show Gist options
  • Select an option

  • Save onyxiarivera/c0d149be6c6e5cb26ab4520026b86d62 to your computer and use it in GitHub Desktop.

Select an option

Save onyxiarivera/c0d149be6c6e5cb26ab4520026b86d62 to your computer and use it in GitHub Desktop.
Hide Completed Assignments
// ==UserScript==
// @name Hide Completed Assignments
// @namespace hidecompass
// @version 2026-20-05
// @description go away
// @author Onyxia Rivera
// @match https://canvas.tastafe.tas.edu.au/courses/*/grades
// @icon https://external-content.duckduckgo.com/ip3/cloud.canvaslms.net.ico
// @grant none
// ==/UserScript==
(function() {
'use strict';
let assignments = document.getElementsByClassName("student_assignment");
assignments = [].slice.call(assignments);
assignments.forEach(function(value) {
if (value.innerHTML.includes("Complete")) {
value.style = "visibility: collapse;";
console.log("Hidden " + value.id + " because completed");
}
})
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment