Greasy Fork is available in English.

My Novel Reader

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

< Feedback on My Novel Reader

Question/comment

§
Posted: 27-06-2023

请教88读书网这个站点的规则该怎么写

http://www.baba5.cc/yuanlaishizuqiuzhishena0/read_88.html
这样的页面结构看起来很简单,自己写了一段脚本,但是正文内容死活不能正常显示

// @include        *://www.baba5.cc/*/*.html'

{siteName: "88读书网",
  url: "https?://www\\.baba5\\.com/.*/.*\.html",
  exampleUrl: 'http://www.baba5.cc/yuanlaishizuqiuzhishena0/read_88.html',
  titleSelector: '.pt-read-title >a',
  contentSelector: ".pt-read-text",
  nextSelector: '.pt-read-btn a:nth-child(4)',
  prevSelector: '.pt-read-btn a:nth-child(2)',
  indexSelector: '.pt-read-btn a:nth-child(3)',
  }

请指点一下contentSelector该怎么写才能正确显示

§
Posted: 14-07-2023

url写错了,匹配不到规则

§
Posted: 14-07-2023

url写错了,匹配不到规则

谢谢,原来如此

Post reply

Sign in to post a reply.