ChromeExtension[FREEWARE]AutoPagerLite Usage |
AutoPagerLite is recommended then the AutoPager normal version. It uses less memory and CPU since it downloads only the selected rules to your machine instead of download all rules from the repositories. You can refer to AutoPager repository modes on how to change repository modes. You can use the "search site online" function in the AutoPager menu or button popup. We added the rules discovery for AutoPager normal version from version 0.6.0.26. It will try to check whether there are some experimental rules for the sites. An experimental rule is a rule submitted by other AutoPager users, pending review in our repository. We had provide a repository site for you to choose the rules for your AutoPagerLite. AutoPagerLite will ask whether you want to enable the automatically discovery at first run. It downloads the URL patterns for all the supported sites in the repository, and use then to figure out whether there is a rule for the site you are surfing. It will display the matched rule count into the status bar, right to the AP icon. You can click the AutoPager toolbar icon or the rule count right to the AutoPager status bar icon (if you enable automatically discovery) to open the online rules repository. You can click the Select All, Disable All or click the check box before each rule to enable/disable the rules. You will see this at the bottom right of the screen after enable/disable some rules: You can click on it to close the rules repository and try the rules on the previous tab. You may need to reload the tab to apply the new rules. On Fennec: This can be enable/disable at Tools->AutoPager->Options->Discover matched rules online
|
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
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. |
WATCH VIDEO TUTORIALS Create new ap rule with auto discovery
No comments:
Post a Comment
Please Register to Leave Your Comments and Feedback here!