| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Firefox(Greasemonkey/Scriptish),Chrome(原生/Tampermonkey),Maxthon(暴力猴)
基于 NLF 的 Super_preloader 脚本和 vokins 的 Super_preloader.db,修改精简增强。此版本为2合1版本,不需要数据库文件。
Firefox 用户还可使用 uc脚本 uAutoPagerize2.uc.js ,共用同一数据库,2者各有特点(firefox 高版本已无效)。
注:Chrome 原生安装不支持。
更新脚本到最新版。已 H!P Crapola 为例,在设置的 自定义站点规则 中填入
[{name: 'forum.jphip.com',
url: /^http:\/\/forum\.jphip\.com\/index\.php.*$/i,
exampleUrl: 'http://forum.jphip.com/index.php?board=87.0',
nextLink: '//div[@id="mainarea"]/div/div/strong[1]/following-sibling::a[1]',
autopager: {
pageElement: 'id("messageindex")/table/tbody/tr',
}
},]
刷新后就可以看到效果。
注意:请确保规则的正确,特别是多重引号的问题。
newIframe 是为了解决下一页按钮点击的问题而新增的,每次加载下一页都采用新的 iframe。
以下面规则为例,useiframe 必须为 true。pageElement 需要改成这样 id("J_posts_list")/*,而 id("J_posts_list") 则无效。
{name: 'Firefox中文社区 - 帖子',
url: '^http://www\\.firefox\\.net\\.cn/read',
nextLink: '//div[@class="pages"]/a[contains(text(), "下一页")]',
autopager: {
pageElement: 'id("J_posts_list")/*',
useiframe: true,
newIframe: true
}
},
Super_preloaderPlus_one 脚本不支持从 Google 主页搜索的翻页,只能用这样的搜索
https://www.google.com/search?q=firefox
这两类半支持
https://www.google.com/#newwindow=1&q=firefox https://www.google.com/webhp?q=firefox#newwindow=1&q=firefox&safe=strict。
| Back | FazBrowse Home | New Git URL |