如何在Chrome v114.0.5735.134中使用自定义的DevTools主题?

huangapple go评论55阅读模式
英文:

How can I use a custom DevTools theme in Chrome v114.0.5735.134?

问题

我试图在 Chrome 114.0.5735.134(官方构建)(32位模拟)中使用Zero Dark Matrix DevTools主题,但一无所获。

我已经在Google和这个网站上搜索了这个问题的答案,但似乎只找到了一些看起来已经过时的信息,它们提到了在DevTools实验选项卡中存在一个“允许自定义UI主题”的设置,但在最新的稳定版本中(截至撰写本文时)并不存在这样的设置。

主题扩展的概述页面(上面链接的页面)还提到了一个在chrome://flags中的“启用开发者工具实验”标志,但这似乎在一段时间前已经完全整合为稳定功能。

怎么回事?Google是否完全取消了对自定义DevTools主题的支持?MTIA 如何在Chrome v114.0.5735.134中使用自定义的DevTools主题?

英文:

I'm trying to use the Zero Dark Matrix DevTools theme in Chrome 114.0.5735.134 (Official Build) (32-bit emulated) and am getting nowhere.

I have searched both Google and this site for answers to this question, but have come up with nothing but seemingly-outdated information that suggests the existence of an "Allow custom UI themes" setting within the DevTools Experiments tab, but no such setting seems to exist in the most-recent stable build (as of the time of writing).

The theme extension's overview page (linked above) also mentions an "Enable Developer Tools experiments" flag within chrome://flags, but that seems to have been fully integrated as a stable feature some time ago.

What gives?! Has Google completely dropped support for custom DevTools themes? MTIA 如何在Chrome v114.0.5735.134中使用自定义的DevTools主题?

答案1

得分: 1

根据评论中wOxxOm的建议,在DevTools实验设置中的“允许扩展加载自定义样式表”选项现在是唯一需要打开的。

在我发布这个帖子之前,我已经自己找到了这个选项,但这是真正关键的一步:在启用此选项后重新启动Chrome

我简直不敢相信我离成功如此之近,却因为太傻了而离成功如此之远,所有这一切都是因为我太愚蠢,没有想到最明显的事情!不管怎样,我希望这对将来的某人有所帮助;-)

英文:

As suggested by wOxxOm in the comments, the Allow extensions to load custom stylesheets setting within the DevTools Experiments settings is the only thing that now needs to be turned on.

I had already found this by myself several hours before posting, but this is the really crucial step: restart Chrome after enabling this setting!

I can't believe I was so close yet so far away, and all because I was too silly to think of the most obvious thing! Anyway I hope this helps someone else in the future 如何在Chrome v114.0.5735.134中使用自定义的DevTools主题?

huangapple
  • 本文由 发表于 2023年6月15日 13:31:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76479377.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定