小说阅读脚本,统一阅读样式,内容去广告、修正拼音字、段落整理,自动下一页
< Valutazione su My Novel Reader
由于 bookTitleSelector 不支持获取 content 内容,可用 contentPatch 补丁的方式
{siteName: "巫师图书馆.",
url: "http://www\\.54tushu\\.com/book_library/chaptershow/theId/\\d+\\.html",
bookTitleSelector: "#m-book-title",
titleSelector: "div.title",
prevSelector: "div.pageInfo a:first",
nextSelector: "div.pageInfo a:last",
indexSelector: "a[title='返回书页']",
useiframe: true,
timeout: 1000,
contentSelector: "div#ChapterContent",
contentPatch: function(fakeStub){
var bookTitle = fakeStub.find('meta[name="keywords"]').attr('content');
fakeStub.find('body').append('<div id="m-book-title">' + bookTitle + '</div>');
}
},
谢谢y大,已经可以正常显示书名了
请大大帮忙看看巫师图书馆的规则
RT,其他规则我已经写好了,但是书名规则不知道怎么写。
书名只有两个位置出现
请大大帮忙写下书名规则吧,谢谢
附上我写的其他规则