Dead simple 'Dark mode' / 'Night mode' web extension.
Web extension:
- Download ZIP.
- Unzip the file in some folder.
- Open Chrome/Opera/Edge/Firefox.
- If you use Firefox, then rename the "manifest_for_firefox.json" into "manifest.json".
The already existing "manifest.json" must be removed or renamed. - Depending on the browser enter one of the following in the address bar:
- Chrome/Opera/Edge:
- chrome://extensions
- opera://extensions
- edge://extensions
- Firefox:
- about:debugging#/runtime/this-firefox
- Chrome/Opera/Edge:
- Depending on the browser do the following:
- Chrome/Opera/Edge:
Click on "Load unpacked" or on equivalent in your browser's language.
Choose the unzipped folder and click open or press enter. - Firefox:
Click on "Load Temporary Add-on" or on equivalent in your browser's language.
Choose the unzipped folder and the "manifest.json", click open or press enter.
- Chrome/Opera/Edge:
- 🎉
- Well, not really 🎉 if you use Firefox.
Open about:config in the address bar and set css.has-selector to true.
If you dont want to activate the extension manually for each website, then
you would also have to modify permissions. If you use Firefox ~ 116.0.0, then:
Type about:addons, press enter, choose "Extensions" in the left menu,
then click on "..." button, choose "Manage" option, then "Permissions" tab.
Activate the "Access your data for all websites". Now it should work.
This sequence may vary depending on the browser version.
You should also have at least Firefox 109 to support Manifest V3.
Stand-alone script:
- Open the "I_dont_want_extensions" folder, then execute_me.js.
- Copy-paste the script in browser's console and press enter.
MIT ©️