2ch専用ブラウザの調子が悪いので
久々に2ch関連のスクリプトを書きました。read.cgiベースで見たときに総レス数を表示します
// ==UserScript== // @name get2ch_resnumber // @namespace jigendaddy // @version 0.1 // @description count 2ch res // @author You // @match http://*.2ch.net/test/read.cgi/* // @grant GM_getValue // @grant GM_setValue // ==/UserScript== var result = document.evaluate('//dl[@class="thread"]/dt[last()]', document, null, 7, null); var str=result.snapshotItem(0).childNodes[0].nodeValue.split(" :"); var la=str[0]; alert("このスレの総レス数は"+Number(la)+"レスです");