Skip to content

Instantly share code, notes, and snippets.

@avimar
Last active February 26, 2018 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avimar/c648dc600837f56584e23d6dcb49e796 to your computer and use it in GitHub Desktop.
Save avimar/c648dc600837f56584e23d6dcb49e796 to your computer and use it in GitHub Desktop.
testing window.open prevention
Sample file.
<html><head>
<script>window.open('1.txt');
</script>
</head>
<body>
My document.
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment