Skip to content

Instantly share code, notes, and snippets.

@keriati
Created February 12, 2013 18:06
Bookmark content to add jQuery to current document. Put after "javascript:"
(function(){if(!window.jQuery){var s=document.createElement('script'), d = document.body;s.src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js';d.appendChild(s);}else{console.log('jQuery found!')}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment