Last active
January 5, 2018 01:19
-
-
Save tsaiid/dde222ef1177e4703037b22a30d8dc88 to your computer and use it in GitHub Desktop.
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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
body {background: black;} | |
#closeBtn { | |
background-color: #333333; | |
border: none; | |
color: #CCCCCC; | |
padding: 5px 5px; | |
text-align: center; | |
margin: 4px 2px; | |
} | |
</style> | |
<script language="javascript" type="text/javascript"> | |
function windowClose() { | |
window.open('','_parent',''); | |
window.close(); | |
} | |
</script> | |
</head> | |
<body> | |
<input type="button" id="closeBtn" value="X" onclick="windowClose();" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment