Дополнения для браузера 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)
819 пользователей819 пользователей
Вам понадобится 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; }
}
Оценено 24 рецензентами на 4,3
Войдите, чтобы оценить это расширение
Оценок пока нет

Рейтинг сохранён

5
19
4
0
3
2
2
0
1
3
Прочитать 24 отзыва
Разрешения и данныеПодробнее

Требуемые разрешения:

  • Читать и изменять настройки браузера
Больше сведений
Ссылки дополнения
  • Домашняя страница
  • Страница поддержки
Версия
1.0.1
Размер
53,48 КБ
Последнее обновление
4 года назад (19 окт. 2021 г.)
Связанные категории
  • Внешний вид
Лицензия
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
История версий
  • Просмотреть все версии
Добавить в подборку
Пожаловаться на это дополнение
Примечания к выпуску 1.0.1
Adding a keyboard shortcut option
Другие расширения от Cimbali
  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

Перейти на домашнюю страницу Mozilla

Дополнения

  • О сайте
  • Блог дополнений для Firefox
  • Мастерская расширений
  • Центр разработчика
  • Политики разработчика
  • Блог Сообщества
  • Форум
  • Сообщить об ошибке
  • Руководство по написанию отзывов

Браузеры

  • Desktop
  • Mobile
  • Enterprise

Продукты

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватность
  • Куки
  • Юридическая информация

За исключением случаев, описанных здесь, содержимое этого сайта лицензировано на условиях лицензии Creative Commons «Атрибуция — На тех же условиях» версии 3.0 или любой более поздней версии.