最近 GreaseMonkey ちょっと使ったりするんだけど $X 関数が便利すぎる!! $Xとは cho45氏が作った XPath 用の関数です。Shibuya.JS で発表してた資料にあります。 http://lowreal.net/2006/shibuya-js-1-lt.html http://lowreal.net/logs/2006/03/16/1 例:mixiクローラ これは例です。規約違反などで実際には絶対やらないでください。 var links = $X("//a[contains(@href,'show_friend.pl')]"); setTimeout(function(){document.location.href=links[Math.floor(Math.random()*links.length)].href }, 3000); 簡単過ぎる! これでグリモ