public marks

PUBLIC MARKS from decembre with tags autopager & tutorial

2010

2009

Autopager - Create new ap rule for page without "next" in links - teesoft, make software to a tee

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.

Tutorial : Greasemonkey Recipe Book for Greasemonkey

Example Greasemonkey script below. The only things that need to be changed are bolded italic. In short, the XPath that identifies the top-level DIV, the XPath that identifies the DIV containing the content you want to display, and a list of XPath's that you want to remove.

2008

decembre's TAGS related to tag autopager

adblock +   automatiser +   AutoPagerize +   autoscroll +   bib +   BIB.02 +   comment +   div +   dom +   extension +   firefox +   greasemonkey +   greasyfork +   howto +   infinite Scrolling +   library +   navigation +   next +   page +   programmation +   recherche +   rechercher +   script +   search +   stylish +   tutorial +   tutoriel +   userscript +   userstyle +   webdev +   xml +   xpath +