Releases: rugk/website-dark-mode-switcher
v2.0 – A fresh and new API solves long-standing issues!
As spoiled in our v1.3 release this is a totally rework of the extension that fixes a lot of long-standing issues of the extension.
So how does that happen? Firefox 95 implemented a new API for extension developers that allows one to override the used color schema via a simple setting, which the browser extension can modify.
Older Firefox versions can continue to use the latest compatible version 1.3 for now.
This change e.g. now allows you to reliably force the light mode of a website and fixes 8 other issues with specific websites or web features that people reported.
Have fun and enjoy that new feature!
Tip: Firefox 95 switched the way it honors @prefers-color-scheme
by default on websites by now following the Firefox theme instead of the system theme as before. If you don't like that, you can also use this extension to change that again!
Or, with a simple button click, switch between this and one other mode.
All notable changes
- Improved: Switched to a completely new API of Firefox, drastically improving the compatibility and fixing many issues. (#5)
- New: You can now adjust between which styles the toolbar button should toggle in the settings.
See all closed issues and pull requests and the git history for details about this release.
Contributors
Thanks to all contributors to this release! Special thanks to @ArchangeGabriel who payed attention to the Bugzilla ticket and made me aware that the new API I have been waiting for since I made this extension was now implemented.
Download
Download this version from AMO.
v1.3 – Maintainance release
This release mostly in-cooperates some community-developed fixes.
Noe this is the last release that will support Firefox versions lower than Firefox v95 as the add-on will be switched to a new API in the next version that will solve some long-standing issues of this add-on.
As such, this is just to have a working version for older “Firefox'es” and the next version will be the great new release! 🙃
All notable changes
- Improved: Improved compatibility with GitHub, Twitter and more sites due to rewrite of JavaScript faking (#30, #35, thanks @tartpvule)
- Improved: Improve initialization process of content scripts. (#36, thanks @tartpvule)
See all closed issues and pull requests and the git history for details about this release.
Contributors
Thanks to all contributors to this release!
Download
Download this version from AMO.
v1.2 – Maintainance fixes and proper settings page
This release is mostly focused on maintenance as it is also the first release for over a year now. However, in addition to supporting some more websites, the settings page is now somewhat proper, even if it only exposes some advanced options you usually should not touch. 😉
All notable changes
- New: You can now toggle the dark mode with the hot key Ctrl+Shift+B by default (#10)
- Improved: Reduced amount of log messages written to console (#11, thanks to @kmcopper)
- Improved: The settings page was expanded and is now much more useful than just being
- Fixed: The JavaScript faking of the media query result is more realistic now. (#13)
- Fixed:
@import
is now supported for CSS stylesheets. (#28) - Fixed: Fixed a race condition leading some sites to not enable the dark mode. (#9, thanks to @kmcopper)
- Internal: Dependencies were updated to ensure the security and reliability of this add-on.
See all closed issues and pull requests and the git history for details about this release.
Contributors
Thanks to all contributors to this release!
In addition to those mentioned above, thanks to @Prometheos2 and @ArchangeGabriel for spotting all™ those hidden typos that were of course included for the sake of being spotted… 😜
Download
Download this version from AMO.
v1.1 – Minor fixes
This is mostly a maintenance release to fix some edge cases and improves compatibility with some sites.
All notable changes
- Improved: Local files and other URLs are now also supported (#8)
- Improved: Whitespace characters in media queries are ignored (#7)
See all closed issues for this release.
Download
Download this version from AMO.
v1.0 – Simplified version for general usage
For the day of the Firefox 67 release, I've created a generally usable version of this add-on. Until now, it mostly was a proof-of-concept. But as we could not force websites to be light and it usually will only work for forcing dark websites anyway, this add-on has now been renamed to Dark Website Forcer, so it is clear it will only force websites to be dark.
For ease of use the old UI has also been mostly removed and we now just have one toolbar button to toggle the setting in general.
All notable changes
- New: Can force a website to be dark. (was a feature before, but this is for a first release)
- Improved: You can trigger the dark mode with a click on the toolbar button.
See all closed issues for this release.
Download
Download this version from AMO.
v0.5
Dark mode should now work on http://adrianroselli.com/ and https://s.codepen.io/aardrian/debug/NmoQdN. (see #2)
v0.4
- improved injection mechanism & fixed bugs
- dark mode should now work on https://pinafore.social/
v0.3
v0.2 – Icon
We have an icon now. 😃
Edit: This was a broken release. 😃
v0.1 – alpha release
Not nice, but a working prototype!