UAFM-AGC โ Average Grade Calculator for the Andrzej Frycz Modrzewski University
UAFM-AGC is a compact JavaScript-based toolset for automatically calculating average, minimum, and maximum grades on the official platforms of UAFM:
e-University
โ viadagc.bookmarklet.txt
ordagc.user.js
e-Learning
โ viapagc.bookmarklet.txt
orpagc.user.js
These scripts enhance the platforms by automatically detecting grades and displaying statistics in a clean, color-coded format.
- Automatic average, min, and max grade calculation
- Color-coded indicators based on grade performance
- Option to include/exclude ungraded items (e-Learning)
- Works directly in the browser (no backend/server)
- Two integration options: Bookmarklet or Userscript
![]() |
![]() |
---|---|
Grade 5 โ all tasks graded, perfect score | No graded tasks โ empty grade table after filtering |
![]() |
![]() |
---|---|
3.5 avg โ 5% boost needed to reach 4.0 | 2.0 avg โ insufficient points to pass |
Grade | Percentage | Description |
---|---|---|
5.0 ๐ | โฅ 90% | Dark Green |
4.5 ๐ | โฅ 80% | Green |
4.0 ๐ | โฅ 70% | Light Green |
3.5 ๐งก | โฅ 60% | Orange |
3.0 ๐งก | โฅ 50% | Dark Orange |
2.0 โค๏ธ | < 50% | Red |
๐ Method 1: Bookmarklet
- Open the appropriate platform:
- Copy the contents of:
- Create a new browser bookmark and paste the code into the URL field.
- Click the bookmark while on the platform page to activate the script.
To save time, use the pre-made bookmarks.html
file and import it through your browser's Import Bookmarks feature.
๐งฉ Method 2: Userscript
Use Tampermonkey or a similar userscript manager. Then install:
dagc.user.js
โ for e-Universitypagc.user.js
โ for e-Learning
Scripts will run automatically on grade-related pages.
Licensed under GNU GPL v3 โ see the LICENSE file for full terms.