Created
May 20, 2014 01:23
-
-
Save ndhoule/dd859f7b19a23fbbc0b4 to your computer and use it in GitHub Desktop.
jQuery bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(global) {if (!global.jQuery) {var elem = document.createElement('script'); elem.src = '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(elem);}})(this); console.log('jQuery injected into page as `$` and `jQuery`.'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment