Skip to content

Instantly share code, notes, and snippets.

// Quick and dirty script that calculates your average on the results page on Progress
// Simply copy this into your console and a popup should appear with your average
(function(){
function get_average(weighted = false){
const marks = [...document.querySelectorAll("#wrapper > div.prg_sidebarWithContent > div > div.prg_container > div > div.prg_box__content > table > tbody > tr")]
.filter((row) => row.children.length > 1 )
.map((row) => ({
"grade": parseFloat(row.children[4].innerText.replace(",", ".")),
@GlitchCat
GlitchCat / guide.md
Last active August 27, 2024 07:34
bbcollab / blackboard - set a gif as profile image

steps to set a GIF (or JPEG / PNG) as your blackboard profile image

visitors

⚠️ file types other than GIF, JPEG or PNG do not work.

Checking for the file size is not always accurate. If a file is just a little too big it will not change your profile picture on reload!

  1. Find a (small) GIF / image, otherwise you'll get a message telling you the file is too big.