Created
June 10, 2026 03:30
-
-
Save onyxiarivera/7df6bf650dc2ed26ed7bfdc27a4591dc to your computer and use it in GitHub Desktop.
Hide Last Year
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Hide Last Year | |
| // @namespace hidelastyear | |
| // @version 2025-10-05 | |
| // @description Dude these haven't been assigned yet | |
| // @author Onyxia Rivera | |
| // @match https://canvas.tastafe.tas.edu.au/courses/*/grades | |
| // @icon https://rollcall-syd.instructure.com/images/panda-cycle-loader.gif | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| let assignments = document.getElementsByClassName("student_assignment"); | |
| assignments = [].slice.call(assignments); | |
| assignments.forEach(function(value) { | |
| if (value.innerHTML.includes("2025")) { | |
| value.style = "visibility: collapse;"; | |
| console.log("Hidden " + value.id + " because unassigned"); | |
| } | |
| }) | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment