Greasy Fork is available in English.

My Novel Reader

小说阅读脚本,统一阅读样式,内容去广告、修正拼音字、段落整理,自动下一页

< 脚本My Novel Reader的反馈

评价:好评 - 脚本一切正常

§
发表于:2021-09-30

新增站点支持: 黄金书屋

,{
    siteName: "黄金书屋",
    url: /^https:\/\/www\.dduxs\.com.+\d+\.html/,
    titleSelector: "h1.post-title",
    prevSelector: ".prev a",
    nextSelector: ".next a",
    indexSelector: ".bcrumb a:last",
    contentSelector: "#nr1"
}
§
发表于:2021-11-04

请问自定义站点规则是在编辑器里吗?
具体添加在哪一行,我添加上,不管用

§
发表于:2021-11-07

{
siteName: "黄金书屋",
url: /^https:\/\/www\.dduxs\.com.+\d+\.html/,
titleSelector: "h1.post-title",
prevSelector: ".prev a",
nextSelector: ".next a",
indexSelector: ".bcrumb a:last",
contentSelector: "#nr1"
}

§
发表于:2021-11-07

前面那位大佬多发了个,

§
发表于:2021-11-16
编辑于:2021-11-16

请问自定义站点规则是在编辑器里吗?
具体添加在哪一行,我添加上,不管用

  1. 打开脚本,在其设置页添加网址匹配“用户包括”
  2. 在支持的小说页面,TM面板单击“小说阅读脚本设置”,在打开的对话框里加上自定义站点规则
§
发表于:2021-11-20

自定义站点规则只能生效一个,所以需要你自己在脚本里添加

§
发表于:2022-08-21

感谢大佬,东西很好用

§
发表于:2022-09-21

能不能适配一下https://www.69shu.com/
我模仿你上面的操作试了一下,获取不到正文内容
{
siteName: "69书吧",
url: /^https://www.69shu.com/txt/.*/.*,
titleSelector: "h1.hide720",
prevSelector: ".page1 a:contains('上一章')",
nextSelector: ".page1 a:contains('下一章')",
indexSelector: ".page1 a:contains('目录')",
contentSelector: ".txtnav"
}

§
发表于:2022-09-21

能不能适配一下https://www.69shu.com/
我模仿你上面的操作试了一下,获取不到正文内容
{
siteName: "69书吧",
url: "^https:\/\/www\.69shu\.com\/\w+\/\d+\/\d+",
titleSelector: "h1.hide720",
prevSelector: ".page1 a:contains('上一章')",
nextSelector: ".page1 a:contains('下一章')",
indexSelector: ".page1 a:contains('目录')",
contentSelector: ".txtnav"
}

§
发表于:2022-09-23

能不能适配一下https://www.69shu.com/我模仿你上面的操作试了一下,获取不到正文内容{siteName: "69书吧",url: "^https:\/\/www.69shu.com\/\w+\/\d+\/\d+",titleSelector: "h1.hide720",prevSelector: ".page1 a:contains('上一章')",nextSelector: ".page1 a:contains('下一章')",indexSelector: ".page1 a:contains('目录')",contentSelector: ".txtnav"}

按下面的样式添加到上面 @xinggsf 所说的“小说阅读脚本设置”里面的“自定义站点规则”。 注意一定要加到“[]”括号对中。

[
    {
        siteName: "黄金书屋",
        url: /^https:\/\/www\.dduxs\.com.+\d+\.html/,
        titleSelector: "h1.post-title",
        prevSelector: ".prev a",
        nextSelector: ".next a",
        indexSelector: ".bcrumb a:last",
        contentSelector: "#nr1"
    },

    {
        siteName: "69书吧",
        url: /^https:\/\/www\.69shu\.com\/txt\/\d+\/\d+/,
        titleSelector: "h1.hide720",
        prevSelector: ".page1 a:contains('上一章')", 
        nextSelector: ".page1 a:contains('下一章')",
        indexSelector: ".page1 a:contains('目录')",
        contentSelector: ".txtnav",
        contentRemove: ".txtinfo"
    },
]
§
发表于:2022-09-23
[
{
siteName: "黄金书屋",
url: /^https:\/\/www\.dduxs\.com.+\d+\.html/,
titleSelector: "h1.post-title",
prevSelector: ".prev a",
nextSelector: ".next a",
indexSelector: ".bcrumb a:last",
contentSelector: "#nr1"
},

{
siteName: "69书吧",
url: /^https:\/\/www\.69shu\.com\/txt\/\d+\/\d+/,
titleSelector: "h1.hide720",
prevSelector: ".page1 a:contains('上一章')",
nextSelector: ".page1 a:contains('下一章')",
indexSelector: ".page1 a:contains('目录')",
contentSelector: ".txtnav",
contentRemove: ".txtinfo"
},
]

谢谢你!

发表回复

登录以发表回复。