Skip to content

Instantly share code, notes, and snippets.

@taptapdan
Created May 28, 2014 23:05
Show Gist options
  • Save taptapdan/803721a9df81247766e7 to your computer and use it in GitHub Desktop.
Save taptapdan/803721a9df81247766e7 to your computer and use it in GitHub Desktop.
How to load an external Javascript file in a bookmarklet.
javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://blarb.com/external.js';})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment