Greasy Fork is available in English.

Toc Bar, auto-generating table of content

A floating table of content widget

< Feedback on Toc Bar, auto-generating table of content

Review: Good - script works

§
Posted: 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.

Post reply

Sign in to post a reply.