I can't close a chrome window with javascript. I've read it because it needs to also be opened with javascript, but there must be an easy way around this. What am I missing here?
<html>
<head>
<script>
function close_window() {
close();
}
</script>
</head>
<body>
<a href="javascript:close_window();">close</a>
</body>
</html>