This extension works on the classmates tab of progress tracker. It starts by displaying the number of students in the cohort. Any changes in class size (students lost/gained) will also be noted the day after assessments (or whenever progress tracker updates).
It uses your own local storage on chrome and will only check for updates when the page is visited, so the first time the page is visited it will say there are no changes. The next time changes occur on the page, it should update. It has three sets to compare. One for "last week" and one for "this week" to determine the individual student changes and overall change in class size, then one for "current week" to check if actual changes have occurred on the page. The page must be visited at least once a week for the week-over-week changes to be accurate. Total Size will always be accurate.
git clone
this repo, then go to the "Manage Extensions" page in chrome
Turn on developer mode in the upper right hand corner
Click the "Load Unpacked" button in the upper left corner
Select the class-size-extension directory and try it out.