Table of Contents Everywhere

On pages which do not have a Table of Contents, but should do, create one! (I actually use this as a bookmarklet, so I can load it onto the current page only when I want it.)

< 腳本Table of Contents Everywhere的回應

提問/評論

joeytwiddle作者
§
發表於:2019-05-24
編輯:2020-03-30

An alternative: AutoTOC

For reference, there is also AutoTOC which provides a similar feature, but via a dropdown menu. It uses far fewer lines of code!

(Unfortunately it's not currently working in Tampermonkey, because it hasn't @grant-ed GM_registerMenuCommand.)

Update: That has now been fixed :)

§
發表於:2022-11-22

Thanks!

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址