Skip to content

Instantly share code, notes, and snippets.

@jcubic
Created August 22, 2012 15:05
Show Gist options
  • Save jcubic/3426536 to your computer and use it in GitHub Desktop.
Save jcubic/3426536 to your computer and use it in GitHub Desktop.
185 bytes bookmarklet that insert javascript file into page
javascript:(function(a,s){s[a]('src',prompt());s[a]('type','text/javascript');document.getElementsByTagName('head')[0].appendChild(s);})('setAttribute',document.createElement('script'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment