⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 this is the file to chat in web
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>AJAX chat index page</title>
	</head>
	<body>
		<script language="javascript">
		//open  a new window
		//window.open("Login.aspx", "_blank", "location=no;menubar=no;status=no;toolbar=no");
		window.open("Login.aspx", "_blank", "location=yes;menubar=no;status=no;toolbar=no");
		
		// close the parent window
		Close();
					//window.opener = null; 
					//window.close(); 

		// close the window without any prompt
		function Close() 
		{ 
			var ua = navigator.userAgent;
			var ie = navigator.appName == "Microsoft Internet Explorer" ? true : false;
			if (ie) 
			{ 
				var IEversion = parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE ")))) 
				if (IEversion < 5.5) 
				{ 
					var str = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">';
					str += '<param name="Command" value="Close"></object>'; 
					document.body.insertAdjacentHTML("beforeEnd", str); 
					document.all.noTipClose.Click(); 
				} 
				else 
				{ 
					window.opener = null; 
					window.close(); 
					
				} 
			} 
			else 
			{ 
				window.close() 
			} 
		}

        </script>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -