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.

ของเมื่อวันที่ 28-09-2020 ดู เวอร์ชันล่าสุด

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
dotcomboom
คะแนน
0 0 0
เวอร์ชัน
0.1
สร้างเมื่อ
28-09-2020
อัปเดตเมื่อ
28-09-2020
Size
1.5 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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.