Last active
November 6, 2019 06:48
-
-
Save gparyani/424c06af28628d8e572a2fd63b2726b1 to your computer and use it in GitHub Desktop.
View class ranking on sis.powayusd.com
This file contains 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 View class ranking on sis.powayusd.com | |
// @author Gaurav Paryani | |
// @description While class rankings for students at Poway Unified schools aren't displayed, they are in fact served to students when viewing the "Course History" page, but hidden in the page DOM. This script simply makes this information visible. | |
// @version 1.1 | |
// @license MIT; https://opensource.org/licenses/MIT | |
// @match *://sis.powayusd.com/PXP2_CourseHistory.aspx* | |
// @match *://swsis.powayusd.com/PXP2_CourseHistory.aspx* | |
// @updateURL https://gist.github.com/gparyani/424c06af28628d8e572a2fd63b2726b1/raw/b18d760f6f69791201c341b9cdf7ad38a8bc7522/ViewRanking.user.js | |
// @downloadURL https://gist.github.com/gparyani/424c06af28628d8e572a2fd63b2726b1/raw/b18d760f6f69791201c341b9cdf7ad38a8bc7522/ViewRanking.user.js | |
// @grant none | |
// @run-at document-body | |
// @noframes | |
// ==/UserScript== | |
console.log("Class rank user script initiated") | |
var ranks = document.getElementsByClassName("gpa-rank"); | |
for(var i = ranks.length - 1; i >= 0; i--) { | |
ranks[i].setAttribute("class", "gpa-rank"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment