您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Userscript for Moodle sites that lets you quickly jump to the current week/section. Made for the Boost and Fordson themes.
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.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址