Created
May 2, 2012 11:59
-
-
Save renehuber/2576088 to your computer and use it in GitHub Desktop.
Embedding a Github-hosted script in a 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
// Minifiy the following with http://jscompress.com/ and save the string in a Bookmark in your browser | |
javascript:(function() { | |
var extScript = document.createElement('script'); | |
extScript.type = 'text/javascript'; | |
extScript.src = 'https://raw.github.com/gist/2576050/009a1d68f3c308bf8ebb041a3b3137d01713673d/enlink.js'; | |
document.body.appendChild(extScript); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment