日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學(xué)無(wú)先后,達(dá)者為師

網(wǎng)站首頁(yè) 編程語(yǔ)言 正文

Google Chrome進(jìn)入暗黑模式

作者:沉、睡 更新時(shí)間: 2022-02-01 編程語(yǔ)言

Google Chrome進(jìn)入暗黑模式

啟用此功能后,Chrome 會(huì)讓用戶(hù)選擇各種設(shè)置,以確定瀏覽器如何強(qiáng)制在網(wǎng)站上使用黑暗模式主題。

各種設(shè)置如下:

  • Enabled (啟用)
  • Enabled with simple HSL-based inversion (使用簡(jiǎn)單的基于 HSL 的反轉(zhuǎn))
  • Enabled with simple CIELAB-based inversion (使用簡(jiǎn)單的基于 CIELAB 的反轉(zhuǎn))
  • Enabled with selective image inversion (選擇性圖像反轉(zhuǎn))
  • Enabled with selective inversion of non-image elements (非圖像元素的選擇性反轉(zhuǎn))
  • Enabled with selective inversion of everything (選擇性反轉(zhuǎn)一切)
  • HSL 和 CIELAB 設(shè)置使用不同的算法來(lái)顯示顏色,這在某些網(wǎng)站上的測(cè)試效果看起來(lái)并不太好,顏色略顯糟糕。測(cè)試結(jié)果顯示:選擇性反轉(zhuǎn)非圖像元素的效果看起來(lái)最好。

若想讓 Chrome 78 在你訪問(wèn)的網(wǎng)站上強(qiáng)制使用暗黑模式,需要按照以下步驟啟用這一新功能:

  1. 下載并安裝 Chrome Canary 版本
  2. 轉(zhuǎn)到 chrome://flags
  3. 搜索 enable-force-dark (強(qiáng)制啟用暗黑模式),將會(huì)出現(xiàn)一個(gè)標(biāo)題為“Force Dark Mode for Web Contents”的實(shí)驗(yàn)標(biāo)記
  4. 根據(jù)需要進(jìn)行啟用設(shè)置,然后重啟 Chrome

原文鏈接:https://blog.csdn.net/zz975896590/article/details/119991149

欄目分類(lèi)
最近更新