Toc Bar, auto-generating table of content

A floating table of content widget

< Σχολιασμός για τον κώδικα Toc Bar, auto-generating table of content

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 27/01/2022

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.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.