如何在 Windows 10 中更改 Chrome 应用标题栏颜色 [英] How to change Chrome App Caption Bar color in Windows 10

查看:88
本文介绍了如何在 Windows 10 中更改 Chrome 应用标题栏颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以看到标题/标题栏与左侧导航菜单的颜色相同.
尽管据我所知,这只适用于 Android/IOS/Windows Phone,但这是我第一次在 Chrome 中看到它.

You can see how the caption/title bar has the same color as the navigation menu on the left.
Though as far as I know this only works on Android/IOS/Windows Phone, but this is first time I see it in Chrome.

版本为:69.0.3497.81 (Official Build) (64-bit) (cohort: 69_win_81)

我如何做到这一点?我尝试了在 Stackoverflow 上找到的几个选项,但没有一个有效.如:

How do I accomplish this? I tried several options I've found on Stackoverflow, but none of them worked. Such as:

<meta name="theme-color" content="#999999" />
<meta name="msapplication-navbutton-color" content="#4285f4">

第一个似乎只适用于在 Android 上运行的 Chrome 浏览器.第二个选项我不确定是什么.

The first only appears to work on Chrome browsers that are running on Android. The second option I'm not sure for what that is.

所以!我该怎么做??

用于将 .html 文档作为 Chrome 应用程序窗口启动的 Chrome 参数:

Chrome parameters for launching .html documents as Chrome App Window:

"...\chrome.exe" -app="file:\\\\...\myApp.html"

推荐答案

在 head 标签中简单地做到这一点.它已经可以正常工作

Simple do this in head tags. It would work as tested already

<meta name="theme-color" content="#1c307d">

这篇关于如何在 Windows 10 中更改 Chrome 应用标题栏颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆