简体   繁体   English

如何使用深色主题检测Google Chrome开发者工具?

[英]How to detect Google Chrome Developer tools using dark theme?

I started to develop tools in the extend of Chrome Extension in the Developer Tools (F12). 我开始在开发人员工具(F12)的Chrome扩展程序扩展中开发工具。 Extending DevTools 扩展DevTools

But since Chrome added dark theme into Developer Tools, How can I detect whether if dark theme applies? 但是,由于Chrome浏览器在开发人员工具中添加了深色主题 ,如何检测是否适用深色主题?

Chrome 54及更高版本:

chrome.devtools.panels.themeName

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Chrome 自定义开发者工具主题/颜色架构 - Google Chrome Customize Developer Tools Theme / Color Schema 有没有办法使用 Google Chrome 开发者工具过滤网络请求? - Is there a way to filter network requests using Google Chrome developer tools? Chrome开发人员工具无法检测到清单 - Chrome developer tools can't detect manifest 如何使用Chrome开发者工具避免Google云端硬盘/ Gmail上下文菜单消失 - How to avoid Google Drive/Gmail context menu disappearance using Chrome Developer Tools 如何使用Google Chrome开发者工具观看特定的函数调用及其参数? - How to watch specific function calls and its arguments using Google Chrome developer tools? 如何使用Google Chrome上的开发者工具查看范围内所有变量的列表以及Javascript中的值? - How do I see the list of all variables in scope along with their values in Javascript using the Developer Tools on Google Chrome? 如果 Google chrome 开发人员工具已经打开,如何以编程方式关闭它? - How to programmatically close Google chrome developer tools if it is already open? 如何关闭Google Chrome开发人员工具中的fancybox元素? - How to close a fancybox element in Google Chrome developer tools? 我的网站如何检测浏览器是否使用深色/浅色主题而不是操作系统是否使用主题 - How can my website detect if a browser is using a dark/light theme NOT if the OS is using a theme 谷歌Chrome开发者工具在控制台中与Jquery一起出现问题 - Google Chrome Developer Tools Issue with Jquery in the Console
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM