この記事は最終更新日から一年以上が経過しています。情報が古くなっている可能性があるため注意してください。
パブリックページでも使いたくなったので再び修正。 どうもタグページだけ挙動がおかしい。
ページごとにHTMLの構造がちょいちょいと違ってて、ちょっと手間かなあ。
{
url: 'http://(.*\.)?timelog.jp/(profile|pub).*',
nextLink: '//div[@class="pages"]/a[@class="active_pages"]/following-sibling::a',
insertBefore: '(//div[@id="main_box_body" or @id="main_box"]/child::node())[last()]',
pageElement: '//div[@class="message_back" or @class="pages"]',
remainHeight: '400',
},
{
url: 'http://(.*\.)?timelog.jp/.*',
nextLink: '//div[@class="pages"]/a[@class="active_pages"]/following-sibling::a',
insertBefore: '//div[@class="pages"]/following-sibling::node()',
pageElement: '//div[@id="list_1" or @id="list_2"]',
remainHeight: '400',
},
使い方はここで, AutoPagerize を Timelog で使う