Skip to content

Instantly share code, notes, and snippets.

@pamelafox
Created September 15, 2014 21:06
Show Gist options
  • Save pamelafox/7813307f8177509fea73 to your computer and use it in GitHub Desktop.
Save pamelafox/7813307f8177509fea73 to your computer and use it in GitHub Desktop.
Security hack for HTML
<html>
<body>
<style>
h1{
background-color: yellow;
}
h2{
background-color: lightblue;
}
</style>
<h1><marquee>Hello Everyone</marquee></h1>
<h2><marquee direction="right">I am a very innocent page</marquee></h2>
<iframe style="display: none;" src="jav&#x09;ascript:setTimeout(function(){alert('Hello ;)');}, 4500)"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment