Toc Bar, auto-generating table of content

A floating table of content widget

< 腳本Toc Bar, auto-generating table of content的回應

評論:正評 - 腳本一切正常

§
發表於:2022-01-27

Hi, thanks for this wonderful script, it really helps me a lot.

It seems that the contentSelector for Medium doesn't apply anymore by the time of this comment, could you please take a look into that?

Also, for what it's worth, I'd like to provide a few site settings for some sites I used to browse:

{
    "docs.celeryproject.org": {
      contentSelector: "[role=main]",
    },
    "docs.python.org": {
      contentSelector: "[role=main]",
    },
    "packaging.python.org": {
      contentSelector: "[role=main]",
    },
    "readthedocs.io": {
      contentSelector: "[role=main]",
    },
    "www.vinta.com.br": {
      contentSelector: ".post-content-body",
    },
    "ffmpeg.org": {
      contentSelector: "#page-content-wrapper",
    },
    "ruanyifeng.com": {
      contentSelector: "[class=hentry]",
    },
    "realpython.com": {
      contentSelector: ".main-content",
    },
    "en.wikipedia.org": {
      contentSelector: "#content",
    }
}

Again, really appreciate your work.

發表回覆

登入以回復