Google Chrome のデバッグコンソールで何かしたいときに jquery が使えると便利だが、全てのサイトでjQueryが使われてるわけじゃないので不便だ。 そんな場合は以下のコードをコピペでコンソールに貼り付ければ jQuery がすぐに使えて便利なのでメモ。 if(!window.jQuery) { document.body.appendChild((function(){ var s = document.createElement("script"); s.type = "text/javascript"; s.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"; s.onload = function() { window.jQuery.noConflict(); }; return s; })(