Skip to content

Instantly share code, notes, and snippets.

@vilcans
Created April 7, 2010 06:37
Show Gist options
  • Save vilcans/358606 to your computer and use it in GitHub Desktop.
Save vilcans/358606 to your computer and use it in GitHub Desktop.
import urllib
print 'javascript:' + urllib.quote("""
(function(){
var e = document.createElement('script');
e.src='/boot.js';
e.type='text/javascript';
document.getElementsByTagName('body')[0].appendChild(e);})()
""".strip().replace('\n', ' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment