jQueryはスクレイピングのしやすいライブラリです。 <!doctype html> <html> <head> <meta charset="utf-8"> <script src="http://code.jquery.com/jquery-1.6.1.js"></script> </head> <div id="bukkonuki">悲しいけれど、ぶっこぬかれる運命なのよね</div> <div id="result"></div> <script> $.get(location.href, function(html) { $('#result') .html( $('#bukkonuki', '<div>' + html + '</div>').html() ); }); </script> </body> </html> 上のhtmlは適当なところに設置(ローカルじゃ駄目です
![たったの40行! jQueryでニコ動の右上を表示するChrome拡張作成法(イマイチ) - かつての虫けらロック](https://cdn-ak-scissors.b.st-hatena.com/image/square/46ae3994660b7d845a8a4aa74ab7f8c3cec06bab/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fm%2Fmiruto824%2F20110617%2F20110617215224.png)