Created
June 21, 2016 12:12
-
-
Save NicolaiSoeborg/708c5831d130b362cda6319255d054e9 to your computer and use it in GitHub Desktop.
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 Show only passed (DTU) | |
// @version 1.0 | |
// @author Nicolai Søborg | |
// @namespace https://github.com/NicolaiSoeborg/ | |
// @description Show only passed courses on DTU | |
// @match https://www.campusnet.dtu.dk/cnnet/Grades/Grades.aspx | |
// @updateURL https://gist.githubusercontent.com/NicolaiSoeborg/708c5831d130b362cda6319255d054e9/raw | |
// @downloadURL https://gist.githubusercontent.com/NicolaiSoeborg/708c5831d130b362cda6319255d054e9/raw | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var cb = document.querySelector("#ctl00_MainContentPlaceHolder_PassedCheckBox"); | |
if (cb && !cb.checked) | |
cb.click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment