Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Firefox built-in PDF viewer stuck in light mode when privacy.resistFingerprinting is enabled

  • 1 ответ
  • 0 имеют эту проблему
  • 36 просмотров
  • Последний ответ от Paul

more options

Hi everyone,

After enabling `privacy.resistFingerprinting = true` in `about:config`, I noticed that Firefox’s built-in PDF viewer (`pdf.js`) is always displayed in **light mode**, even though my system and browser themes are both dark.

I understand that RFP forces `prefers-color-scheme: light` to prevent fingerprinting, but this also affects internal components like the PDF reader. Unfortunately, the PDF viewer doesn’t provide a manual dark mode toggle.

Is there any **official or safe workaround** that allows keeping RFP enabled while still having the PDF viewer use dark colors?

Thanks!

Hi everyone, After enabling `privacy.resistFingerprinting = true` in `about:config`, I noticed that Firefox’s built-in PDF viewer (`pdf.js`) is always displayed in **light mode**, even though my system and browser themes are both dark. I understand that RFP forces `prefers-color-scheme: light` to prevent fingerprinting, but this also affects internal components like the PDF reader. Unfortunately, the PDF viewer doesn’t provide a manual dark mode toggle. Is there any **official or safe workaround** that allows keeping RFP enabled while still having the PDF viewer use dark colors? Thanks!

Все ответы (1)

more options

Hi

The fingerprinting resistance is based on presets to try to achieve that aim and may not always lead to a configuration you would prefer for browsing.

An overview of a number of the settings are at https://support.mozilla.org/en-US/kb/resist-fingerprinting and I would avoid about:config if possible.

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.