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

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 **lig… (மேலும் படிக்க)

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!

Asked by Xinyue Wang 4 மாதங்களுக்கு முன்பு

Last reply by Paul 4 மாதங்களுக்கு முன்பு