Skip to content

Instantly share code, notes, and snippets.

@enriquez
Created August 4, 2010 19:39
Show Gist options
  • Save enriquez/508660 to your computer and use it in GitHub Desktop.
Save enriquez/508660 to your computer and use it in GitHub Desktop.
// inserting HTML that contains a script that contains document.write
$('a').first().html('<script>document.write("hey! don't be broken")</script>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment