Skip to content

Instantly share code, notes, and snippets.

@pbojinov
Last active December 11, 2015 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbojinov/4669034 to your computer and use it in GitHub Desktop.
Save pbojinov/4669034 to your computer and use it in GitHub Desktop.
Bookmarklet - Add jquery to page
javascript:(function(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js';
var head = document.getElementsByTagName('head')[0];
head.appendChild(script);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment