jQuery

たったの40行! jQueryでニコ動の右上を表示するChrome拡張作成法(イマイチ)

jQueryはスクレイピングのしやすいライブラリです。 <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( $('#bukkon…</html>

greasemonkey0.8以上でrequire使ってjQuery

以前のやり方 は知りません。すいません。 まだjavascriptやjQuery始め立ての人間なんで、許してくださいな。 本題 // ==UserScript== // @name test // @namespace miruto // @include (適当なサイトを許可) // @require http://jqueryjs.googlecode.com/fi…