Greasy Fork is available in English.

My Novel Reader

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

< Valutazione su My Novel Reader

Domanda/commento

§
Pubblicato: 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该怎么写才能正确显示

§
Pubblicato: 14/07/2023

url写错了,匹配不到规则

§
Pubblicato: 14/07/2023

url写错了,匹配不到规则

谢谢,原来如此

Pubblica risposta

Accedi per pubblicare una risposta.