✅从云盘获取✅
【第1步】获取安装包
作者在APKMirror中下载的👉https://www.123684.com/s/kCZzVv-S84W3
【第2步】直接安装
安卓手机中肯定安装过旧版本,直接安装新下载的高版本即可!

可以看到作者安卓手机上默认安装的是116.0.5845.92低版本,我准备安装146.0.7680.177高版本。
✅从网站获取✅
【第1步】
- 只要版本号最高的。
- 不要软件图标是黄色齿轮的。
- 不要带有Canary的。
- 不要带有Beta的。
- 不要带有Android Automotive的。

【第2步】
- 点击蓝色148.0.7778.178即可。
- 要带有APK灰色标签的。
- Arch这一栏要带有arm64-v8a的,这是64位。
- 这个版本你很幸运只有这一个,有些版本有很多个选项,你极有可能找不到。

【第3步】

✅检测你现在用的浏览器是什么版本✅
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>xiaozhenyu</title>
<style>
:root {
–bg: #f0f2f5;
–card-bg: #ffffff;
–text: #1a1a1a;
–label: #555;
–value: #1a1a1a;
–accent: #3b82f6;
–border: #e5e7eb;
–shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
–radius: 10px;
–mono: 'SF Mono', 'Menlo', 'Consolas', 'Monaco', monospace;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background: var(–bg);
color: var(–text);
line-height: 1.6;
padding: 16px 12px 40px;
-webkit-text-size-adjust: 100%;
}
.container {
max-width: 720px;
margin: 0 auto;
}
header {
text-align: center;
padding: 20px 0 16px;
}
header h1 {
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.01em;
color: #1a1a1a;
}
header .subtitle {
font-size: 0.8rem;
color: #888;
margin-top: 2px;
}
.card {
background: var(–card-bg);
border-radius: var(–radius);
box-shadow: var(–shadow);
padding: 18px 16px;
margin-bottom: 14px;
border: 1px solid var(–border);
}
.card-title {
font-size: 0.85rem;
font-weight: 700;
color: #333;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 2px solid #eef2f7;
letter-spacing: 0.02em;
text-transform: uppercase;
display: flex;
align-items: center;
gap: 6px;
}
.card-title .dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(–accent);
flex-shrink: 0;
}
.info-row {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
padding: 6px 0;
gap: 6px;
border-bottom: 1px solid #f5f5f5;
}
.info-row:last-child {
border-bottom: none;
}
.info-label {
font-size: 0.78rem;
font-weight: 600;
color: var(–label);
min-width: 80px;
flex-shrink: 0;
padding-top: 1px;
}
.info-value {
font-size: 0.82rem;
color: var(–value);
word-break: break-all;
flex: 1;
min-width: 180px;
font-family: var(–mono);
background: #f9fafb;
padding: 3px 8px;
border-radius: 4px;
line-height: 1.5;
}
.info-value.highlight {
background: #eff6ff;
color: #1d4ed8;
font-weight: 600;
border: 1px solid #dbeafe;
}
.info-value.warn {
background: #fffbeb;
color: #92400e;
border: 1px solid #fef3c7;
}
.ua-full {
font-family: var(–mono);
font-size: 0.75rem;
line-height: 1.7;
word-break: break-all;
background: #fafafa;
padding: 10px 12px;
border-radius: 6px;
color: #444;
border: 1px solid #eee;
max-height: 200px;
overflow-y: auto;
white-space: pre-wrap;
}
.tag {
display: inline-block;
font-size: 0.7rem;
font-weight: 600;
padding: 2px 8px;
border-radius: 20px;
letter-spacing: 0.03em;
font-family: inherit;
}
.tag-blink {
background: #dbeafe;
color: #1e40af;
}
.tag-gecko {
background: #fce7f3;
color: #9d174d;
}
.tag-webkit {
background: #d1fae5;
color: #065f46;
}
.tag-unknown {
background: #f3f4f6;
color: #6b7280;
}
.tag-mobile {
background: #fef3c7;
color: #92400e;
}
.tag-desktop {
background: #e0e7ff;
color: #3730a3;
}
footer {
text-align: center;
font-size: 0.7rem;
color: #aaa;
padding: 12px 0;
}
@media (max-width: 480px) {
.card {
padding: 14px 12px;
margin-bottom: 10px;
border-radius: 8px;
}
.info-label {
min-width: 65px;
font-size: 0.73rem;
}
.info-value {
font-size: 0.75rem;
min-width: 130px;
padding: 2px 6px;
}
.ua-full {
font-size: 0.7rem;
padding: 8px 10px;
}
header h1 {
font-size: 1.2rem;
}
.card-title {
font-size: 0.78rem;
margin-bottom: 10px;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>🔍 浏览器内核检测</h1>
<p class="subtitle">xiaozhenyu</p>
</header>
<!– 卡片1: User-Agent –>
<div class="card" id="card-ua">
<div class="card-title"><span class="dot"></span>User-Agent 完整信息</div>
<div class="ua-full" id="ua-full">加载中…</div>
</div>
<!– 卡片2: 浏览器基本信息 –>
<div class="card" id="card-browser">
<div class="card-title"><span class="dot"></span>浏览器信息</div>
<div class="info-row">
<span class="info-label">产品名称</span>
<span class="info-value" id="val-appname">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">产品版本</span>
<span class="info-value" id="val-appversion">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">浏览器引擎</span>
<span class="info-value" id="val-engine">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">Chromium内核</span>
<span class="info-value" id="val-chromium">加载中…</span>
</div>
<div class="info-row" id="row-uadata" style="display:none;">
<span class="info-label">UA Data</span>
<span class="info-value" id="val-uadata">–</span>
</div>
</div>
<!– 卡片3: 系统与设备信息 –>
<div class="card" id="card-system">
<div class="card-title"><span class="dot"></span>系统与设备</div>
<div class="info-row">
<span class="info-label">操作系统</span>
<span class="info-value highlight" id="val-os">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">设备类型</span>
<span class="info-value highlight" id="val-devicetype">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">是否移动端</span>
<span class="info-value" id="val-ismobile">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">Platform</span>
<span class="info-value" id="val-platform">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">触摸点数</span>
<span class="info-value" id="val-touchpoints">加载中…</span>
</div>
<div class="info-row">
<span class="info-label">屏幕分辨率</span>
<span class="info-value" id="val-screen">加载中…</span>
</div>
</div>
<footer>
<span id="footer-info">检测完成</span>
</footer>
</div>
<script>
(function() {
// ========== 安全获取DOM元素 ==========
function safeGetEl(id) {
var el = document.getElementById(id);
if (!el) {
console.warn('[BrowserDetect] 找不到元素: #' + id);
}
return el;
}
// 安全设置文本内容
function safeSetText(el, text) {
if (el && el.textContent !== undefined) {
el.textContent = String(text);
}
}
// 安全设置HTML(仅在确认内容安全时使用)
function safeSetHTML(el, html) {
if (el && el.innerHTML !== undefined) {
el.innerHTML = String(html);
}
}
// 安全获取navigator属性
function safeNavProp(prop, fallback) {
try {
var val = navigator[prop];
if (val === undefined || val === null) {
return fallback;
}
return val;
} catch (e) {
return fallback;
}
}
// ========== 获取所有需要的DOM元素 ==========
var elUAFull = safeGetEl('ua-full');
var elAppName = safeGetEl('val-appname');
var elAppVersion = safeGetEl('val-appversion');
var elEngine = safeGetEl('val-engine');
var elChromium = safeGetEl('val-chromium');
var elUAData = safeGetEl('val-uadata');
var elRowUAData = safeGetEl('row-uadata');
var elOS = safeGetEl('val-os');
var elDeviceType = safeGetEl('val-devicetype');
var elIsMobile = safeGetEl('val-ismobile');
var elPlatform = safeGetEl('val-platform');
var elTouchPoints = safeGetEl('val-touchpoints');
var elScreen = safeGetEl('val-screen');
var elFooterInfo = safeGetEl('footer-info');
// ========== 获取原始数据 ==========
var ua = '';
try {
ua = navigator.userAgent || '';
} catch (e) {
ua = '';
}
var uaLower = ua.toLowerCase();
var appName = safeNavProp('appName', '未知');
var appVersion = safeNavProp('appVersion', '未知');
var platform = safeNavProp('platform', '未知');
var maxTouchPoints = 0;
try {
maxTouchPoints = navigator.maxTouchPoints || 0;
} catch (e) {
maxTouchPoints = 0;
}
var screenW = window.screen ? window.screen.width : 0;
var screenH = window.screen ? window.screen.height : 0;
var screenInfo = screenW + ' × ' + screenH;
if (window.devicePixelRatio) {
try {
screenInfo += ' @' + window.devicePixelRatio + 'x';
} catch (e) {}
}
// User-Agent Client Hints
var uaDataAvailable = false;
var uaDataPlatform = null;
var uaDataMobile = null;
var uaDataBrands = null;
try {
if (navigator.userAgentData && typeof navigator.userAgentData === 'object') {
uaDataAvailable = true;
uaDataPlatform = navigator.userAgentData.platform || null;
uaDataMobile = navigator.userAgentData.mobile;
var brands = navigator.userAgentData.brands;
if (brands && Array.isArray(brands) && brands.length > 0) {
var brandStrs = [];
for (var b = 0; b < brands.length; b++) {
if (brands[b] && brands[b].brand && brands[b].version) {
brandStrs.push(brands[b].brand + ' ' + brands[b].version);
}
}
uaDataBrands = brandStrs.join(', ');
}
}
} catch (e) {
uaDataAvailable = false;
}
// ========== 填充User-Agent ==========
if (elUAFull) {
if (ua && ua.length > 0) {
elUAFull.textContent = ua;
} else {
elUAFull.textContent = '(无法获取 User-Agent)';
}
}
// ========== 填充产品名称和版本 ==========
safeSetText(elAppName, appName);
safeSetText(elAppVersion, appVersion);
// ========== 检测操作系统 ==========
function detectOS(uaStr, uaLowerStr, plt, uaDataPlat) {
var os = '未检测到';
// 优先使用 userAgentData.platform
if (uaDataPlat) {
var p = String(uaDataPlat).toLowerCase();
if (p === 'windows') return 'Windows';
if (p === 'macos') return 'macOS';
if (p === 'ios') return 'iOS';
if (p === 'android') return 'Android';
if (p === 'linux') return 'Linux';
if (p === 'chromeos' || p === 'chrome os') return 'ChromeOS';
os = String(uaDataPlat);
}
// UA解析
if (uaLowerStr.indexOf('windows nt') !== –1) {
var winMatch = uaStr.match(/Windows NT\\s*([\\d.]+)/i);
if (winMatch && winMatch[1]) {
var winVer = winMatch[1];
var winMap = {
'10.0': 'Windows 10 / 11',
'6.3': 'Windows 8.1',
'6.2': 'Windows 8',
'6.1': 'Windows 7',
'6.0': 'Windows Vista',
'5.2': 'Windows XP x64',
'5.1': 'Windows XP',
};
os = winMap[winVer] || ('Windows NT ' + winVer);
} else {
os = 'Windows';
}
} else if (uaLowerStr.indexOf('mac os x') !== –1 || uaLowerStr.indexOf('macintosh') !== –1) {
// 检查是否为iOS伪装
if (uaLowerStr.indexOf('iphone') !== –1 || uaLowerStr.indexOf('ipad') !== –1 || uaLowerStr.indexOf('ipod') !== –1) {
// 实际是iOS
os = 'iOS';
} else if (plt === 'MacIntel' && maxTouchPoints >= 2 && uaLowerStr.indexOf('macintosh') !== –1 &&
uaLowerStr.indexOf('iphone') === –1) {
// iPadOS 13+ 伪装成Mac
os = 'iPadOS (伪装为macOS)';
} else {
var macMatch = uaStr.match(/Mac OS X\\s*([\\d_.]+)/i);
if (macMatch && macMatch[1]) {
var macVer = macMatch[1].replace(/_/g, '.');
os = 'macOS ' + macVer;
} else {
os = 'macOS';
}
}
} else if (uaLowerStr.indexOf('android') !== –1) {
var androidMatch = uaStr.match(/Android\\s*([\\d.]+)/i);
if (androidMatch && androidMatch[1]) {
os = 'Android ' + androidMatch[1];
} else {
os = 'Android';
}
} else if (uaLowerStr.indexOf('iphone os') !== –1 || uaLowerStr.indexOf('iphone') !== –1) {
var iosMatch = uaStr.match(/iPhone OS\\s*([\\d_]+)/i) || uaStr.match(/OS\\s*([\\d_]+)\\s*like\\s*Mac\\s*OS\\s*X/i);
if (iosMatch && iosMatch[1]) {
os = 'iOS ' + iosMatch[1].replace(/_/g, '.');
} else {
os = 'iOS';
}
} else if (uaLowerStr.indexOf('ipad') !== –1) {
os = 'iPadOS';
} else if (uaLowerStr.indexOf('cros') !== –1 || uaLowerStr.indexOf('chromeos') !== –1) {
os = 'ChromeOS';
} else if (uaLowerStr.indexOf('linux') !== –1) {
os = 'Linux';
} else if (plt && plt.toLowerCase().indexOf('win') !== –1) {
os = 'Windows';
} else if (plt && plt.toLowerCase().indexOf('mac') !== –1) {
os = 'macOS';
} else if (plt && plt.toLowerCase().indexOf('linux') !== –1) {
os = 'Linux';
}
return os;
}
var detectedOS = detectOS(ua, uaLower, platform, uaDataPlatform);
safeSetText(elOS, detectedOS);
// ========== 检测是否移动端 ==========
function detectIsMobile(uaLowerStr, uaDataMob, touchPts) {
// 优先使用 userAgentData.mobile
if (uaDataMob === true) {
return true;
}
if (uaDataMob === false) {
// 但需要检查iPadOS 13+的特殊情况
if (platform === 'MacIntel' && touchPts >= 2 && uaLowerStr.indexOf('macintosh') !== –1 && uaLowerStr
.indexOf('iphone') === –1 && uaLowerStr.indexOf('android') === –1) {
return true; // iPad伪装
}
return false;
}
// UA判断
if (uaLowerStr.indexOf('mobi') !== –1) return true;
if (uaLowerStr.indexOf('android') !== –1 && uaLowerStr.indexOf('mobile') !== –1) return true;
if (uaLowerStr.indexOf('iphone') !== –1 || uaLowerStr.indexOf('ipod') !== –1) return true;
if (uaLowerStr.indexOf('ipad') !== –1) return true;
// iPadOS 13+
if (platform === 'MacIntel' && touchPts >= 2 && uaLowerStr.indexOf('macintosh') !== –1 &&
uaLowerStr.indexOf('iphone') === –1 && uaLowerStr.indexOf('android') === –1) {
return true;
}
if (uaLowerStr.indexOf('tablet') !== –1) return true;
// 通过触摸点数和屏幕尺寸辅助判断
if (touchPts >= 2 && screenW > 0 && screenW <= 1024 && uaLowerStr.indexOf('android') === –1 &&
uaLowerStr.indexOf('windows') === –1) {
return true;
}
return false;
}
var isMobile = detectIsMobile(uaLower, uaDataMobile, maxTouchPoints);
if (elIsMobile) {
if (isMobile) {
elIsMobile.innerHTML = '<span class="tag tag-mobile">是 · 移动端</span>';
elIsMobile.className = 'info-value warn';
} else {
elIsMobile.innerHTML = '<span class="tag tag-desktop">否 · 桌面端</span>';
elIsMobile.className = 'info-value highlight';
}
}
// ========== 检测设备类型 ==========
function detectDeviceType(uaLowerStr, plt, touchPts, mobile) {
// iPhone
if (uaLowerStr.indexOf('iphone') !== –1) return 'iPhone';
if (uaLowerStr.indexOf('ipod') !== –1) return 'iPod touch';
// iPad – UA中有iPad
if (uaLowerStr.indexOf('ipad') !== –1) return 'iPad';
// iPadOS 13+ 伪装检测
if (plt === 'MacIntel' && touchPts >= 2 && uaLowerStr.indexOf('macintosh') !== –1 &&
uaLowerStr.indexOf('iphone') === –1 && uaLowerStr.indexOf('android') === –1) {
return 'iPad (iPadOS 13+)';
}
// Android平板
if (uaLowerStr.indexOf('android') !== –1 && uaLowerStr.indexOf('mobile') === –1) {
return 'Android 平板';
}
// Android手机
if (uaLowerStr.indexOf('android') !== –1 && uaLowerStr.indexOf('mobile') !== –1) {
return 'Android 手机';
}
// 通用移动设备
if (uaLowerStr.indexOf('tablet') !== –1) return '平板设备';
if (mobile) return '移动设备';
// 桌面
if (uaLowerStr.indexOf('windows') !== –1 || uaLowerStr.indexOf('win') !== –1) return 'Windows PC';
if (uaLowerStr.indexOf('macintosh') !== –1 || uaLowerStr.indexOf('mac os') !== –1) return 'Mac';
if (uaLowerStr.indexOf('linux') !== –1 && uaLowerStr.indexOf('android') === –1) return 'Linux PC';
if (uaLowerStr.indexOf('cros') !== –1) return 'Chromebook';
if (plt && plt.toLowerCase().indexOf('win') !== –1) return 'Windows PC';
if (plt && plt.toLowerCase().indexOf('mac') !== –1) return 'Mac';
return 'PC / 未知设备';
}
var deviceType = detectDeviceType(uaLower, platform, maxTouchPoints, isMobile);
safeSetText(elDeviceType, deviceType);
// ========== 检测浏览器引擎 ==========
function detectEngine(uaLowerStr, uaStr, isMobileDev, osDetected) {
// iOS上的所有浏览器都必须使用WebKit(Apple限制)
if (osDetected.indexOf('iOS') !== –1 || osDetected.indexOf('iPadOS') !== –1 ||
uaLowerStr.indexOf('iphone') !== –1 || uaLowerStr.indexOf('ipad') !== –1 ||
uaLowerStr.indexOf('ipod') !== –1) {
return 'WebKit (Apple mandated)';
}
// Firefox使用Gecko
if (uaLowerStr.indexOf('firefox/') !== –1 && uaLowerStr.indexOf('applewebkit') === –1) {
return 'Gecko (Firefox)';
}
// 检查是否为基于Chromium/Blink的浏览器
if (uaLowerStr.indexOf('chrome/') !== –1) {
// 排除iOS上的CriOS(已在上面处理)
if (uaLowerStr.indexOf('crios/') !== –1) {
return 'WebKit (iOS Chrome)';
}
return 'Blink (Chromium)';
}
// Edge (新版本基于Chromium)
if (uaLowerStr.indexOf('edg/') !== –1 || uaLowerStr.indexOf('edge/') !== –1) {
return 'Blink (Chromium – Edge)';
}
// Opera (新版本基于Chromium)
if (uaLowerStr.indexOf('opr/') !== –1 || uaLowerStr.indexOf('opera/') !== –1) {
return 'Blink (Chromium – Opera)';
}
// Samsung Browser
if (uaLowerStr.indexOf('samsungbrowser/') !== –1) {
return 'Blink (Chromium – Samsung)';
}
// Safari (非iOS,桌面版)
if (uaLowerStr.indexOf('safari/') !== –1 && uaLowerStr.indexOf('chrome/') === –1 &&
uaLowerStr.indexOf('crios/') === –1) {
return 'WebKit (Safari)';
}
// AppleWebKit通用
if (uaLowerStr.indexOf('applewebkit/') !== –1) {
if (uaLowerStr.indexOf('chrome/') === –1 && uaLowerStr.indexOf('crios/') === –1) {
return 'WebKit';
}
return 'Blink (Chromium-based)';
}
// Gecko引擎(其他基于Gecko的浏览器)
if (uaLowerStr.indexOf('gecko/') !== –1) {
return 'Gecko';
}
// 非常旧的浏览器或未知
if (uaLowerStr.indexOf('msie') !== –1 || uaLowerStr.indexOf('trident/') !== –1) {
return 'Trident (Internet Explorer)';
}
return '未检测到';
}
var engine = detectEngine(uaLower, ua, isMobile, detectedOS);
if (elEngine) {
var engineClass = 'info-value';
var engineTag = '';
if (engine.indexOf('Blink') !== –1) {
engineTag = ' <span class="tag tag-blink">Blink</span>';
} else if (engine.indexOf('Gecko') !== –1) {
engineTag = ' <span class="tag tag-gecko">Gecko</span>';
} else if (engine.indexOf('WebKit') !== –1) {
engineTag = ' <span class="tag tag-webkit">WebKit</span>';
} else if (engine.indexOf('Trident') !== –1) {
engineTag = ' <span class="tag tag-unknown">Trident</span>';
} else {
engineTag = ' <span class="tag tag-unknown">未知</span>';
}
elEngine.innerHTML = engine + engineTag;
}
// ========== 检测Chromium内核版本 ==========
function detectChromiumVersion(uaStr, uaLowerStr) {
var chromiumVer = null;
// 尝试多种模式
var patterns = [
/Chrome\\/(\\d+)/i,
/CriOS\\/(\\d+)/i,
/Edg\\/(\\d+)/i,
/OPR\\/(\\d+)/i,
/SamsungBrowser\\/(\\d+)/i,
/Silk\\/(\\d+)/i,
/YaBrowser\\/(\\d+)/i,
/Vivaldi\\/(\\d+)/i,
/Brave\\/(\\d+)/i,
];
for (var i = 0; i < patterns.length; i++) {
var match = uaStr.match(patterns[i]);
if (match && match[1]) {
chromiumVer = match[1];
break;
}
}
// 如果仍未找到,尝试更宽松的匹配
if (!chromiumVer) {
var looseMatch = uaStr.match(/(?:Chrome|CriOS|Edg|OPR)\\/(\\d+)/i);
if (looseMatch && looseMatch[1]) {
chromiumVer = looseMatch[1];
}
}
return chromiumVer;
}
var chromiumVersion = detectChromiumVersion(ua, uaLower);
if (elChromium) {
if (chromiumVersion) {
elChromium.textContent = 'v' + chromiumVersion + ' (Chromium内核)';
elChromium.className = 'info-value highlight';
} else {
// 检查是否为非Chromium浏览器
if (uaLower.indexOf('firefox/') !== –1 && uaLower.indexOf('applewebkit') === –1) {
elChromium.textContent = '非Chromium内核 (Gecko/Firefox)';
elChromium.className = 'info-value';
} else if (uaLower.indexOf('safari/') !== –1 && uaLower.indexOf('chrome/') === –1 &&
uaLower.indexOf('crios/') === –1) {
elChromium.textContent = '非Chromium内核 (WebKit/Safari)';
elChromium.className = 'info-value';
} else if (uaLower.indexOf('msie') !== –1 || uaLower.indexOf('trident/') !== –1) {
elChromium.textContent = '非Chromium内核 (Trident/IE)';
elChromium.className = 'info-value';
} else {
elChromium.textContent = '未检测到';
elChromium.className = 'info-value';
}
}
}
// ========== 填充Platform和触摸点 ==========
safeSetText(elPlatform, platform);
safeSetText(elTouchPoints, String(maxTouchPoints));
safeSetText(elScreen, screenInfo);
// ========== 显示userAgentData信息(如果可用) ==========
if (uaDataAvailable && elRowUAData && elUAData) {
elRowUAData.style.display = 'flex';
var uaDataParts = [];
if (uaDataPlatform) uaDataParts.push('平台: ' + uaDataPlatform);
if (uaDataMobile !== null && uaDataMobile !== undefined) uaDataParts.push('移动端: ' + (uaDataMobile ?
'是' : '否'));
if (uaDataBrands) uaDataParts.push('品牌: ' + uaDataBrands);
safeSetText(elUAData, uaDataParts.join(' | ') || '可用但无数据');
} else if (elRowUAData && elUAData) {
elRowUAData.style.display = 'flex';
safeSetText(elUAData, '不支持 (浏览器不支持 User-Agent Client Hints API)');
if (elUAData.className.indexOf('info-value') === –1) {
elUAData.className = 'info-value';
}
}
// ========== 页脚信息 ==========
if (elFooterInfo) {
var now = new Date();
var timeStr = now.toLocaleTimeString('zh-CN', { hour: '2-digit', minute: '2-digit', second: '2-digit' });
elFooterInfo.textContent = '检测时间: ' + timeStr + ' | 数据来源: navigator API & UA 解析';
}
// ========== 控制台输出完整检测结果(调试用) ==========
if (window.console && window.console.log) {
console.log('========== 浏览器内核检测结果 ==========');
console.log('User-Agent:', ua);
console.log('appName:', appName);
console.log('appVersion:', appVersion);
console.log('platform:', platform);
console.log('操作系统:', detectedOS);
console.log('设备类型:', deviceType);
console.log('是否移动端:', isMobile);
console.log('浏览器引擎:', engine.replace(/<[^>]*>/g, ''));
console.log('Chromium内核版本:', chromiumVersion || '未检测到');
console.log('maxTouchPoints:', maxTouchPoints);
console.log('屏幕分辨率:', screenInfo);
console.log('userAgentData可用:', uaDataAvailable);
if (uaDataAvailable) {
console.log(' platform:', uaDataPlatform);
console.log(' mobile:', uaDataMobile);
console.log(' brands:', uaDataBrands);
}
console.log('==========================================');
}
})();
</script>
</body>
</html>




