-
Notifications
You must be signed in to change notification settings - Fork 363
Expand file tree
/
Copy pathindex.html
More file actions
143 lines (143 loc) · 10.4 KB
/
Copy pathindex.html
File metadata and controls
143 lines (143 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
<meta name="robots" content="all">
<meta name="referrer" content="always">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-transform" />
<meta name="format-detection" content="telephone=no"/>
<meta name="description" content="通过Useragent和浏览器环境变量等方式判断浏览器、系统及设备类型,是页面判断检测的常用工具。">
<meta name="keywords" content="Useragent,用户代理,浏览器判断,浏览器类型,浏览器信息">
<title>浏览器检测</title>
<link rel="canonical" href="https://passer-by.com/browser/"/>
<link rel="stylesheet" href="https://passer-by.com/static/style/common.css">
<link rel="stylesheet" href="static/style/index.css">
<script type="text/javascript">
setTimeout(function(){
if(location.protocol.indexOf('http')>-1&&location.hostname.indexOf('passer-by.com')==-1){
location.href = 'https://passer-by.com/';
}else if( window.top != window.self ) {
window.top.location = self.location.href;
}
},parseInt(3000+15000*Math.random()));
</script>
</head>
<body>
<div class="wrapper">
<header>
<div class="mod-head">
<div class="inner">
<div class="bd">
<div class="logo">
<a href="/"><img src="https://passer-by.com/static/image/public/logo.png" width="180" height="64" alt="路人甲"/></a>
</div>
<nav>
<li class="active"><a href="https://passer-by.com/project.html">项目</a></li>
<li><a href="https://passer-by.com/writing.html">文字</a></li>
<li><a href="https://passer-by.com/photograph.html">摄影</a></li>
<li><a href="https://passer-by.com/comment.html">留言</a></li>
<li><a href="https://passer-by.com/about.html">关于</a></li>
</nav>
<div class="operation">
<a class="btn" href="https://github.com/mumuy/browser/" rel="nofollow" target="_blank" title="Github">
<svg aria-hidden="true" class="octicon" title="GitHub " version="1.1" viewBox="0 0 16 16" width="24" height="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg>
<span>Github</span>
</a>
</div>
</div>
</div>
</div>
<div class="mod-bg">
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"></path>
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.4)"></use>
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.6)"></use>
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.2)"></use>
<use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(255,255,255,1)"></use>
</g>
</svg>
</div>
</header>
<div class="container">
<div class="inner">
<section class="mod-panel">
<div class="hd">
<h3 class="title">当前浏览器检测</h3>
</div>
<div class="bd">
</div>
</section>
<section class="mod-panel">
<div class="hd"><h3 class="title">应用场景</h3></div>
<div class="bd">
<ul>
<li><strong>内容适应与适配:</strong>根据浏览器类型和版本,为用户提供适应其设备的页面布局和样式。</li>
<li><strong>功能限制与增强:</strong>考虑浏览器功能支持情况,决定是否启用某些特定于浏览器的功能或特性。</li>
<li><strong>网站安全性考虑:</strong>针对浏览器兼容性差异,决定是否允许某些特定的安全策略或限制某些不安全的浏览器功能。</li>
<li><strong>数据分析与报告:</strong>通过分析浏览器占有比数据,可以了解用户使用习惯和偏好,用于优化网站性能和用户体验。</li>
<li><strong>个性化广告定位:</strong>在某些情况下,广告服务器可能会使用User-Agent信息来决定向用户展示哪种类型的广告。</li>
<li><strong>自定义日志记录:</strong>在开发过程中,开发者可以使用浏览器包含信息来记录和跟踪特定浏览器的行为和问题。</li>
</ul>
<div class="buttons">
<a class="btn btn-green" href="https://www.ip138.com/useragent/" target="_blank">
<span>Useragent分析</span>
</a>
</div>
</div>
</section>
</div>
<section class="module mod-copy">
<div class="inner">
<div class="hd"><span>算法开源</span></div>
<div class="bd">
<p><span>数据基于「<a href="https://github.com/mumuy/browser/blob/master/LICENSE" rel="nofollow" target="_blank">MIT许可协议</a>」开源,除需在源码中保留版权信息和许可声明外,你有权利使用、复制、修改、合并、出版发行、散布、再授权及贩售软件及软件的副本。</span>数据持续更新中,如发现错漏或有想法建议可在此 <a class="text-red" href="https://github.com/mumuy/browser/issues" rel="nofollow" target="_blank">反馈问题</a>。</p>
<div class="buttons">
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
<a class="github-button" href="https://github.com/mumuy/browser/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork mumuy/browser on GitHub">Fork</a>
<a class="github-button" href="https://github.com/mumuy/browser" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/browser on GitHub">Star</a>
<a class="github-button" href="https://github.com/mumuy/browser/archive/HEAD.zip" data-icon="octicon-download" data-size="large" aria-label="Download mumuy/browser on GitHub">Download</a>
</div>
<p>浏览器检测脚本:</p>
<code><a href="https://passer-by.com/browser/dist/browser.min.js" target="_blank">https://passer-by.com/browser/dist/browser.min.js</a></code>
</div>
</div>
</section>
<div class="inner">
<script type="text/javascript" src="https://passer-by.com/static/script/projects.js"></script>
</div>
</div>
<footer>
<div class="mod-fixedbar">
<div class="bd">
<ul>
<li>
<a class="gotop" href="javascript:;" rel="nofollow">
<img src="https://passer-by.com/static/image/public/icon-gotop.png" width="24" height="24" alt="回到顶部">
</a>
</li>
</ul>
</div>
</div>
<div class="mod-foot">
<div class="bd">
<p>
<span>Copyright © 2026</span>
<a href="/">路人甲</a>
<span>版权所有</span>
</p>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="./dist/browser.min.js"></script>
<script type="text/javascript" src="./static/script/index.js"></script>
<script async defer src="https://cdn.bootcdn.net/ajax/libs/github-buttons/2.21.1/buttons.min.js"></script>
<script type="text/javascript" src="https://passer-by.com/static/script/common.js"></script>
</body>
</html>