Skip to content

Instantly share code, notes, and snippets.

@fujiwara
Created November 15, 2010 08:14
Show Gist options
  • Save fujiwara/700156 to your computer and use it in GitHub Desktop.
Save fujiwara/700156 to your computer and use it in GitHub Desktop.
<html>
<body>
<script src="test.js"></script>
</body>
</html>
var foo = "</script>";
alert(foo);
<html>
<head/><body>
<script>var foo = "</script>";
alert(foo);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment