No description
- JavaScript 82.8%
- CSS 15.9%
- HTML 1.3%
- manifest: mv3, service_worker, action, scripting permission - background: replace executeScript with chrome.scripting.executeScript - background: replace XHR with fetch, guard window.matchMedia for SW - background: remove localStorage wrapper (SW has no localStorage) - background: move command listener to constructor with waitForReady guard - background: remove forced enabled:true override on startup - background: gate startAutoTimeCheck behind automation setting - background: delete save-file handler (document unavailable in SW) - popup: always do local download, remove background round-trip - ui: chrome.extension -> chrome.runtime in guard checks - cleanup: delete dead Newsmaker class, dead IIFEs, dead setInterval |
||
|---|---|---|
| .trunk | ||
| _locales | ||
| background | ||
| config | ||
| icons | ||
| inject | ||
| ui | ||
| .gitignore | ||
| manifest.fingerprint | ||
| manifest.json | ||
| README.md | ||
Dark Mode Extension
Overview
This is a modified version of the Dark Reader extension that works completely offline without any external communications. It provides dark mode functionality for websites while respecting your privacy.
Features
- Applies dark mode to websites
- Works completely offline
- No external communications
- No data collection
- Customizable settings
- Multiple theme engines
- Site-specific settings
Installation
- Clone this repository
- Open Chrome/Edge/Brave and navigate to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked" and select the repository folder
Usage
- Click the extension icon in your browser toolbar to toggle dark mode
- Access settings by clicking the gear icon
- Customize brightness, contrast, and other settings
- Add sites to the whitelist or blacklist
Modifications
This version has been modified to:
- Remove all external communications
- Disable the subscription/paywall system
- Use only local configuration files
- Remove tracking and analytics
- Ensure the extension works completely offline
License
This project is based on Dark Reader which is licensed under the MIT License.