Toc Bar, 自动生成文章大纲。知乎、微信公众号等阅读好伴侣

自动生成文章大纲目录,在页面右侧展示一个浮动的组件。覆盖常用在线阅读资讯站(技术向)。github/medium/MDN/掘金/简书等

< 脚本Toc Bar, 自动生成文章大纲。知乎、微信公众号等阅读好伴侣的反馈

评价:好评 - 脚本运行良好

§
发表于: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.

发表回复

登录以发表回复。