Skip to content

Instantly share code, notes, and snippets.

@pastak
Created July 16, 2013 11:52
Show Gist options
  • Select an option

  • Save pastak/6008052 to your computer and use it in GitHub Desktop.

Select an option

Save pastak/6008052 to your computer and use it in GitHub Desktop.
var s = document.createElement('script');
s.type = 'text/javascript';
s.src = 'http://code.jquery.com/jquery-2.0.3.min.js';
document.body.appendChild(s);
var timer=setInterval(function(){
if($){
clearInterval(timer);
/*jQuery読み込んでたら($関数が存在すれば)以下を実行*/
$('td>a');
}
},100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment