-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDFs aren't darkened in Microsoft Edge #8689
Comments
See #4497 |
Even enabling the "Allow access to file URLs" checkbox, unfortunately the problem remains |
4.9.48 might contain the fix for you: https://github.com/darkreader/darkreader/blob/master/CHANGELOG.md#4948-apr-18-2022 |
If you use Firefox, you can edit userContent.css like this: @media (prefers-color-scheme: dark){
.pdfViewer{filter: invert(1) hue-rotate(180deg);}
} If you use Chrome or Edge, install the extention "PDF Reader", then edit the extention option like this: html[data-theme*="dark"] .pdfViewer{
filter: invert(1) hue-rotate(180deg);
} |
@luo-chuan thank you so much! I've switched to Firefox since a few months, but I was unaware of the userContent.css trick. I love how customizable Firefox is |
Bug Report
Website Address
Every PDF
Bug Description
Opening a PDF in Microsoft Edge with Dark Mode doesn't darken the PDF, even if the "Allow access to file URLs" option is enabled from Edge's extension settings.
Steps To Reproduce
Expected Behavior
The PDF will be dark
Actual Behavior
The PDF remains the same
Screenshots
System Information
Additional Context
The text was updated successfully, but these errors were encountered: