I want to load a webpage http://localhost/12.13.12.56.
I'm returning this content which should close this tab:
<html><head>
<script>
window.load=function(){ window.close();}
</script>
</head>
<body></body>
</html>
But the Google Chrome console is showing this error:
Scripts may close only the windows that were opened by it.
After loading of this url I want to close it automatically. How can I do that?