jQueryを読み込ませるbookmarklet
どうってことないものだけど使用頻度が高いので作った。
jQuery.noConflict()を使っているので、Prototype.jsを使っているサイトでもOK。
javascript:(function(){if(typeof jQuery != 'undefined'){return;}var s=document.createElement('script');s.charset='UTF-8';s.language='javascript';s.type='text/javascript';s.src='http://jqueryjs.googlecode.com/files/jquery-1.2.2.min.js';document.body.appendChild(s);(function(){if(typeof jQuery == 'undefined'){setTimeout(arguments.callee,50);return;}jQuery.noConflict();})()})();void(0);
もと
(function(){ if(typeof jQuery != 'undefined'){ return; } var s=document.createElement('script'); s.charset='UTF-8'; s.language='javascript'; s.type='text/javascript'; s.src='http://jqueryjs.googlecode.com/files/jquery-1.2.2.min.js'; document.body.appendChild(s); (function(){ if(typeof jQuery == 'undefined'){ setTimeout(arguments.callee,50); return; } jQuery.noConflict(); })() })();