Moodle: Jump to Current Section

Userscript for Moodle sites that lets you quickly jump to the current week/section. Made for the Boost and Fordson themes.

Versione datata 28/09/2020. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
dotcomboom
Valutazione
0 0 0
Versione
0.1
Creato il
28/09/2020
Aggiornato il
28/09/2020
Dimensione
1,5 KB
Licenza
Non disponibile
Applica a

This is a script I wrote because I got tired of scrolling through many sections on my school's LMS to get to the current week's plan. (Most of my instructors use weekly periods like 27 September - 3 October as sections). In the Fordson, possibly Boost themes, whatever section that's most current is marked by a different color in its header. Internally it just gives the section another class, "current", and that's what my script uses.

Anyway this script has a couple simple variables you can change, jump_on_page_load and navbar. When jump_on_page_load is set to true, when the page loads it'll jump down automatically. When navbar is set to true, it will add a new button to the top navbar that will let you jump manually. Both of these are set by default.

If the navbar button does not show up, or it doesn't jump down automatically, either your theme does things differently or your course does not have any sections marked as current.