主菜单
首页
新闻
论坛
教程
文档
下载
搜索
网站链接
博客
翻页规则
提交翻页规则
登入表单


忘记密码 没有账户?马上注册


新闻快报
AutoPager: Version 0.6.0.20 Release. Rewrite most of the code to make it works on both Firefox, Google Chrome and Fennec. Improve AutoPager Lite. And allow other scripts to integrate with AutoPager. You can find more info here. Improve ajax support. Refer to http://member.teesoft.info/bugzilla/show_bug.cgi?id=48 for detail. AutoPager will now re-support ajax mode google now. I hope google not change their layout to anti autopager recently.

Try Ctrl+ALT+3 if it doesn't work on your google.
You can now update to 0.6.0.20: We recommend!Click here to scan for System Errors & Optimize PC Performance
Create new ap rule for page without "next" in links comment

This works on AutoPager 0.5.1.4 or newer version.
This is the recording of the steps to create the rule for http://www.pspad.com/en/pspad-extensions.php.
This demo shows how to create AutoPager rules for the pages which don't have "Next" in links. They only have a navbar includes all the page numbers like this: Page: [1], 2, 3, 4.

The final link xpath get in this tutorial is:
//div[@id='obspoz']/p/text()[contains(.,'[')]/following-sibling::a[1]
Steps explains:

//div[@id='obspoz']/p :select the navbar.
//div[@id='obspoz']/p/text() : select the texts in the navbar since current page number does not have a node
//div[@id='obspoz']/p/text()[contains(.,'[')] : select the text for the current page number. It will be easier if the current page number has a node, for example if it's a span with class='current': //div[@id='obspoz']/p/span[@class='current'].
//div[@id='obspoz']/p/text()[contains(.,'[')]/following-sibling::a[1] : select the first link after the current page number text.

< 上一篇   下一篇 >

RSS供稿
RSS 2.0





Google Translate: Arabic German Portuguese Italian Russian Japanese Spanish French Korean Turkish