Skip to content

Instantly share code, notes, and snippets.

@jonchretien
Created August 9, 2013 17:05
Show Gist options
  • Save jonchretien/6195272 to your computer and use it in GitHub Desktop.
Save jonchretien/6195272 to your computer and use it in GitHub Desktop.
Embed jQuery in Chrome console.
if (!window.jQuery) {
var script = document.createElement('script');
script.setAttribute('src', '//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js');
document.getElementsByTagName('head')[0].appendChild(script);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment