This extension inverts brightness of web pages and aims to reduce eyestrain while browsing the web. Visit Chrome Web Store for more info.
If some site is already dark, you can add it to dark_sites.json file.
If some parts of web-pages are wrongly inverted, you can specify necessary CSS selectors at sites_fixes.json.
In order to build and debug the extension install the nodejs and grunt task runner. Launch the > grunt debug
task. Open the Chrome's extensions page. Enable the Developer mode, press Load unpacked extension button, navigate to project's src/
folder.
After making any code changes, the project should be recompiled (debug-watch
task may be used for auto-compile). If the extension didn't reload automatically it can reloaded in Extensions page by pressing the Reload (Ctrl+R) hyperlink.
For editing the code you can use any text editor or web IDE (like Visual Studio Code, Atom, WebStorm).