jQuery の使用 次のコードを実行することにより、jQuery を読み込んでいないページでも jQuery を使用することができる。 if (!window.jQuery) { document.body.appendChild((function(){ var s = document.createElement("script"); s.type = "text/javascript"; s.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"; return s; })()); } (参考: ChromeのJSコンソールでjQueryを使うTips – y-kawazの日記) 試しに任意のページで jQuery をロードして、次のコマンドを打ってみると、あら不思議……。 $('img').a
![Google Chrome の JavaScript コンソールが便利](https://cdn-ak-scissors.b.st-hatena.com/image/square/b51b9dccc860fc93965712044fb7d3bcd5fabee8/height=288;version=1;width=512/https%3A%2F%2Fonair.jp%2Fwp-content%2Fthemes%2Fcocoon-master%2Fscreenshot.jpg)