Greasy Fork is available in English.

My Novel Reader

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

< Feedback on My Novel Reader

Review: Good - script works

§
Posted: 30.09.2021

新增站点支持: 黄金书屋

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

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

§
Posted: 07.11.2021

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

§
Posted: 07.11.2021

前面那位大佬多发了个,

§
Posted: 16.11.2021
Edited: 16.11.2021

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

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

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

§
Posted: 21.08.2022

感谢大佬,东西很好用

§
Posted: 21.09.2022

能不能适配一下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"
}

§
Posted: 21.09.2022

能不能适配一下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"
}

§
Posted: 23.09.2022

能不能适配一下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"
    },
]
§
Posted: 23.09.2022
[
{
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"
},
]

谢谢你!

Post reply

Sign in to post a reply.