// ==UserScript== // @name studentportalen-extended // @namespace http://ventureinto.space // @version 0.2 // @description Add missing functionality to studenportalen.liu.se // @author Nils Eriksson niler851@student.liu.se // @match https://www3.student.liu.se/portal/studieresultat/resultat* // @grant none // @require http://code.jquery.com/jquery-2.1.4.min.js // @downloadURL none // ==/UserScript== //// VIEW //// /* Create area for grade info */ $("form").append("
Select all
"); $("#snitt").append(""); /* Give the table of courses a id */ $("table.resultlist > tbody").attr('id','grade-table'); /** MODIFY THE TABLE OF GRADES -Add new header "Selected" -Add checkbox for all courses -Add plus minus sign next to grades to se the impact of rasing them **/ (function expandTableOfGrades(){ $("#grade-table").children().each(function(){ if($(this).children().eq(0).text() !== "Kurskod" && $(this).children().size() >2 ){ $(this).prepend("