Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Firefox reader for PDF

more options

Guys, tell me how to change the background of the firefox reader, the white background loads the eyes heavily, tried to use the Dark reader extension, but nothing has changed for me

Guys, tell me how to change the background of the firefox reader, the white background loads the eyes heavily, tried to use the Dark reader extension, but nothing has changed for me

모든 댓글 (2)

more options

It's easy to change the area around the document, but Firefox doesn't have a built-in feature to modify the appearance of the document itself. For that you would need to delve into the world of userContent.css files, which is tricky for reasons I'll save for later.

Dark Theme Preference

Firefox generally tries to follow your system-level preference for a "dark theme" on most internal pages like the PDF viewer. If your system isn't setting that flag, you can create a new preference to tell Firefox (and websites that care) about your dark theme preference. Here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box, type or paste ui.systemUsesDarkTheme

(3) Firefox should display a bar with some radio buttons to choose a new preference type, followed by a + button. Choose Number and click the + button:

(D) Edit the value from 0 (Light) to 1 (Dark) and then click the blue check mark button or press Enter/Return to save the change.

Success?

If you want to return Firefox to figuring this out for itself, click the trash can at the right end of the row to remove this preference.

more options

These posts discuss how to change the colors in the PDF itself:

(1) Invert the colors using a simple style rule in userContent.css

This lacks flexibility because it's global.

https://support.mozilla.org/en-US/questions/1281116#answer-1295331

(2) Create a "bookmarklet" to modify the colors

A bookmarklet is a bookmark that has a script as its address instead of a regular URL. A click on the bookmark runs the script in the context of the current page. So while this is not automatic, it gives you more control.

https://support.mozilla.org/en-US/questions/1281116#answer-1295338