[Bug] Dark Reader breaks when viewing local files
Author: meatorCreated Mar 13, 2022Updated Sep 10, 2026
Labelsbug
Bug Report
Website Address
file:///home/vm/websites/c++/Main.html
Bug Description
When I open a local website and then interact with Dark Reader, Dark Reader messes up. It will stop displaying anything under the Filter, Site list, More tabs. The problem persist after closing and reopening Firefox. It will persist even when I uninstall and reinstall Dark Reader. After the problem occurs, Dark Reader stops working on all websites.
Steps To Reproduce
- Get Firefox.
- Install Dark Reader.
- Download Main.txt
- Rename it to Main.html (GitHub won't let me upload the file with
.htmlextention). - Put it to
websites/c++directory. (This is probably not needed, but text overflowing might be the problem.) - Open the file with Firefox.
- Interact with Dark Reader menu (switch tabs, click on "Only for ...")
- Dark Reader is now broken.
Screenshots

System Information
- OS: Void Linux glibc
- Browser: Firefox 98.0 (64-bit) and 91.6.0esr (shown in the screenshot)
- Dark Reader Version: 4.9.46
Source: darkreader/darkreader