Greasy Fork is available in English.
小说阅读脚本,统一阅读样式,内容去广告、修正拼音字、段落整理,自动下一页
{
siteName: "刺猬猫",
url: /^https?:\/\/www\.ciweimao.com\/chapter\/\d+/,
titleSelector: "h3.chapter",
prevSelector: "#J_BtnPagePrev",
nextSelector: "#J_BtnPageNext",
indexSelector: ".btn.mulu",
contentSelector: "#J_BookRead",
contentRemove: ".watermark,p.chapter > span,p.chapter > i",
// contentPatch: function (fakeStub) {
// fakeStub.find(".book-read-page").appendTo(fakeStub.find("body"));
// }
}, {
siteName: "旧时光文学",
url: /^https?:\/\/www\.oldtimescc\.cc.+\d+\.html/,
titleSelector: "h1.pt10",
prevSelector: "#linkPrev",
nextSelector: "#linkNext",
indexSelector: "#linkIndex",
contentSelector: ".readcontent",
contentRemove: ".readmiddle,.kongwen,p.text-danger",
// nDelay: 500,
}, {
siteName: "长佩文学网",
url: /^https?:\/\/www\.gongzicp\.com\/read\-\d+\.html/,
mutationSelector: "#cpReadMain", // 内容生成监视器
mutationChildCount: 5,
contentSelector: '#cpReadContent',
contentRemove: 'p.cp-hidden',
titleSelector: "h3.cp-read-name",
indexSelector: "#cpReadSetting > a:eq(0)",
prevSelector: "#cpReadSetting > a:eq(2)",
nextSelector: "#cpReadSetting > a:eq(3)",
//useiframe: true,
}
写好了规则,可问题不少,有时不显示正文或下一页!!这三个站点都有相似的问题
问问作者看看有没有办法吧
@ywzhaiqi
https://www.oldtimescc.cc/
有没有大佬可以教一下这个网站要怎么添加啊?