JS代码如下:
<script language="javascript" type="text/javascript">
function closeme()
{
var browserName = navigator.appName;
if (browserName == "Netscape")
{
window.open('', '_parent', '');
window.close();
}
else if (browserName == "Microsoft Internet Explorer")
{ window.opener = "whocares"; window.close(); }
}
</script>
function closeme()
{
var browserName = navigator.appName;
if (browserName == "Netscape")
{
window.open('', '_parent', '');
window.close();
}
else if (browserName == "Microsoft Internet Explorer")
{ window.opener = "whocares"; window.close(); }
}
</script>