16/12/11 17:44:34.21 dCBvFkk90.net
□「Yahoo!ニュースのコメント一覧」でもAutoPagerizeを動かす方法
①AutoPagerize.user.js本体を編集
nextLink.getAttribute('action') || nextLink.value
↑の真下に↓の一行を追加する(過去に「NAVER まとめ」用の編集をした人はその下に追加)
if (/plugin\.news\.yahoo\.co\.jp/.test(document.URL)) nextValue = document.URL.replace(/(&page=)\d+/, '$1' + nextLink.href.slice(nextLink.href.lastIndexOf('=')+1));
②SITEINFOを編集
url: '^https?://plugin\.news.yahoo\.co\.jp/v1/comment/full/',
nextLink: '//li[@class="next"]/a',
pageElement: 'id("tabElem0")',
※pageElementは敢えてページ番号と総ページ数が出るようにしている