<%@ Page Language="C#" AutoEventWireup="true" CodeFile="检测浏览器.aspx.cs" Inherits="检测浏览器" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<script type="text/javascript">
document.write("名称:"+navigator.appName+"<br>");
document.write("版本号:"+navigator.appVersion+"<br>");
document.write("发行代号:"+navigator.appCodeName+"<br>");
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
Js_检测浏览器类型
最新推荐文章于 2024-07-01 22:36:54 发布