你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/292-my-novel-reader/discussions/314476,源站連結 點此以跳轉。
小说阅读脚本,统一阅读样式,内容去广告、修正拼音字、段落整理,自动下一页
< 脚本 My Novel Reader 的反馈
原内容抓取只能抓符合条件的第一段内容,不太适合论坛这类单页面多段内容的网站。将原文:this.content = this.handleContentText(this.$content.html(), this.info);修改为:this.content = this.handleContentText($('
this.content = this.handleContentText(this.$content.html(), this.info);
this.content = this.handleContentText($('
').append(this.$content).html(), this.info);
登录以发布留言。
原内容抓取只能抓符合条件的第一段内容,不太适合论坛这类单页面多段内容的网站。
将原文:
this.content = this.handleContentText(this.$content.html(), this.info);修改为:
this.content = this.handleContentText($('').append(this.$content).html(), this.info);就能适配多段内容页面。
变相还可以把页面内需要显示其他内容也抓进正文。
代码截图: