Right you are, Ken (vespa59) wrote,
Right you are, Ken
vespa59

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.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments