Timelog パブリックページに対応
このブログ記事は移転しました。10秒後に自動でリダイレクトします。
----------------------
パブリックページでも使いたくなったので再び修正。
どうもタグページだけ挙動がおかしい。
ページごとに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 で使う