Last active
July 20, 2019 03:10
-
-
Save dwouca/4d337391615d729b59f86ee3a4130c5c to your computer and use it in GitHub Desktop.
Bookmarklet that calculates cyber start essentials (cyber discovery) average exam score without the first 3 (for these scores don't count)
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
javascript:(function(){total=0;n=0;for(let i = 1; i<document.getElementsByClassName("progress").length-4;i++){try{x=(parseInt(document.getElementsByClassName("progress")[i+3].childNodes[1].childNodes[3].childNodes[1].textContent.replace("%", "")));total+=x;n+=1}catch{}};alert(total/n)})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment