Log in

No account? Create an account

Previous Entry | Next Entry

Auto-paginate LJ pages

For Firefox/Greasemonkey users:

First, get the Autopagerize script from userscripts.org. Then, add these lines in the SITEINFO section:

url: 'http://(.*).livejournal.com/*',
nextLink: 'id("alpha-inner")/div[22]/p/a[@class="prev"]',
insertBefore: 'id("alpha-inner")/div[22]',
pageElement: 'id("alpha-inner")/div[position() > 1 and position() < 22]',

Now look at any journal or friends page. When you scroll to the bottom, the next set of entries should autoload and appear below the ones you're looking at, without having to load the whole next page. Awww yeah.

Inspired by Sekimura's hack for Vox.