darkreader / darkreader/darkreader

Doesn't work with local PDF files

Open
#12,965 25 comments 5 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

### Prerequisites

- [X] I [searched for any existing report](https://github.com/darkreader/darkreader/issues?q=is%3Aissue) about this bug to avoid opening a duplicate.
- [X] I can reproduce this bug in a new, unmodified web browser profile with Dark Reader installed as the only extension.
- [X] I understand I need to use the [Broken Website Report template](https://github.com/darkreader/darkreader/issues/new?assignees=&labels=Broken+Website&template=broken-website-report.yml&title=%5BBroken+Website%5D+Replace+with+title) if this bug I am reporting occurs on a single website.

### Bug Description

Hi,

Like here: https://github.com/darkreader/darkreader/discussions/8488

I also started seeing this recently. I have the allow accessing local files option turned on but dark reader says the page is protected. How can I fix this?

![image](https://github.com/user-attachments/assets/5247db07-fd0b-41eb-a8b5-1d354b4e3cef)

### Website Address

N/A

### Steps To Reproduce

Open a local PDF using chrome

### Expected Behavior

It should color PDF to dark

### Actual Behavior

PDF colors are white like before the extension

### Screenshots

_No response_

### Operating System

Windows 11

### Web Browser name and version

Chrome Version 126.0.6478.127 (Official Build) (64-bit)

### Dark Reader version

Latest

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.