Automatically adds a table of contents to Kanka entity pages under the Pins sidebar.
这些是此脚本变更过代码的版本。 显示所有版本。
This is a big update. Remember to update your addTopLink setting if needed. See script description for how to use the new settings that have been added.
... And I was just going to tweak the CSS a little 🥲
Quick update to make the ToC text visible again following changes in Kanka’s CSS.
Remember to set your addTopLink preference as desired after updating.
addTopLink
true
This is a temporary fix for the last Kanka update that changed how the sidebars are structured. More work needs to be done for styling when I have the time, but this at least restores functionality.
#tableofcontent .text-muted { display: none; }
inline
Added handling for Calendars, which use a single sidebar and where every date in the grid would get picked up by the TOC.Adding a filter to avoid modals that are hidden among some entity content, such as the "Year Switcher" in Calendars.Calendars are rude.
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址