Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
Toggle dark mode 預覽

Toggle dark mode 作者: Cimbali

Toggle the content’s color scheme between preferring light or dark (or inheriting)

4.3 (24 reviews)4.3 (24 reviews)
828 Users828 Users
必須使用 Firefox 才能使用此擴充套件
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

關於此擴充套件
For Firefox version ≥ 95.

Minimal add-on

This is the simplest possible add-on with the least possible permissions.

Clicking the add-on action in your toolbar cycles the color scheme preference for browser content, between the following 4 values:
  1. dark colors
  2. light colors
  3. inherit browser colors (dark or light)
  4. inherit system colors (dark or light)
You can enable or disable values in the cycle from the add-on content.

Fingerprinting incompatibility

Strong fingerprinting resistance (by setting the preference privacy.resistFingerprinting) stops Firefox from disclosing your color preference to websites, which means this add-on will have no effect.

Website support

This add-on relies on the fact that websites have their own proper stylesheets for dark and light modes, for example DuckDuckGo.
An increasing number of websites now offer light and dark schemes, though you may need to select a specific option to inherit your browser’s colors, e.g. google, github, stackoverflow, and many more.

If you want to add your own dark mode to other websites, you can use user style sheet addons such as e.g. Stylus. Then you can wrap the CSS in a prefers-color-scheme media feature so it responds to this add-on’s toggle. For example:


@media (prefers-color-scheme: dark) {
/* CSS that ony applies to dark mode */
body { background: black; color: #ddd; }
}

@media (prefers-color-scheme: light) {
/* CSS that ony applies to light mode */
body { background: white; color: black; }
}
由 1 位評論者給出 4.3 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
19
4
0
3
2
2
0
1
3
閱讀全部 24 條評論
權限與資料了解更多

必要權限:

  • 讀取或修改瀏覽器設定
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
版本
1.0.1
大小
53.48 KB
最近更新
4 年前 (2021年10月19日)
相關分類
  • 外觀
授權條款
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
1.0.1 版的發行公告
Adding a keyboard shortcut option
Cimbali 製作的更多擴充套件
  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

  • 目前沒有評分

前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。