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
/** | |
- Run via pasting into inspect element in the console tab on the Bio Progress Report. | |
- Check the CSV for a SUM Function, and click the function button. | |
**/ | |
if (document.title.match(/Progress/g) != null) { | |
function generateBioCSV() { | |
var csv_data = "Assignment Type, Title, Your Score :(, Total Score :), SUM(C:C), SUM(D:D), SUM(C:C)/SUM(D:D) \n" | |
$('td.home_left tr').each(function() { | |
var $grade = $(this).find('td:nth-child(5):not(th)'); | |
$grade = $grade.prop('outerHTML') |