Created
April 6, 2017 17:10
-
-
Save shawngustaw/3c60d311cb39190aa4990803786813ee to your computer and use it in GitHub Desktop.
Testing opener is restricted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Testing opener is restricted</title> | |
<meta name="description" content="Testing"> | |
<meta name="author" content="Shawn Gustaw"> | |
</head> | |
<body> | |
<script>if (window.opener) {opener.location = 'https://www.securitycompass.com';} else {document.write("Y'all are good!")}</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment