Greasy Fork is available in English.
小说阅读脚本,统一阅读样式,内容去广告、修正拼音字、段落整理,自动下一页
< Valutazione su My Novel Reader
Accedi per pubblicare una risposta.
在//其他网站下添加
// @include *://www.biquge.com.cn/*/*/*.html
在const sites下添加
// 详细版规则
{
// 没什么作用,随意起名
name: "笔趣阁CN",
// 匹配的地址,正则。2种形式都可以
url: "/^https?://www\\.biquge\\.com\\.cn/book/\d+/\d+\\.html/",
// (可选)标题正则
// titleReg: "小说:(.*?)独家首发\\/(.*?)\\/.*",
// (可选)0或1,代表书名的位置,另一个是章节位置
// titlePos: 0,
// (可选)首页jQuery选择器
indexSelector: ".bottem1 a:contains('章节列表')",
// (可选)上一页jQuery选择器
prevSelector: ".bottem1 a:contains('上一章')",
// (可选)下一页jQuery选择器
nextSelector: ".bottem1 a:contains('下一章')",
// (可选)内容jQuery选择器
contentSelector: "#content",
// (可选)内容移除,正则表达式
contentReplace: "",
// (可选)下面2个一起。如果加载的下一页没有成功,则设置这个为true或用下面的补丁。
useiframe: false,
timeout: 0, // 延迟(毫秒),要等页面的js运行完毕才能获取到内容。
// (可选)补丁,对页面的提前处理,fakeStub 为 $(document) 对象
// contentPatch: function(fakeStub){
// fakeStub.find('div#content script:first').addClass('reader-ajax');
// }
},