This script calculates and converts your average, and has visual grade changer
目前為
This UserScript calculates your average and shows it on the site, it also converts your percent average to letter, and 4.0 Scale; Also includes a visual grade changer.
Total Average
Average Converter
Grade Changer & Info Buttons
Grade Changer Interface
Changed Grades
Script Info Popup
Update Changelog
You must have a userscript manager installed such as
Then just click the link below and click install
Average Calculation is done using this code, written by cqfllp.
var links=document.querySelectorAll('tr[style="cursor: pointer"]');
var text="";
var num=0;
var count=0;
for(var i=0;i<links.length;i++){
var str = links[i].innerText;
text=str.split('MP1: ')[1];
text=parseFloat(text);
text = text || 0;
if (text==0){
}else{
num+=parseFloat(text);
count++;
}
}
var avg=num/count;
alert("Total Average: "+Math.ceil(avg*100)/100);