Skip to content

tomlutzenberger/invertThemeBookmarklet

Repository files navigation

🌗 invertThemeBookmarklet

Releases License David David DEV Maintainability Documentation Made with Love

What it is

invertThemeBookmarklet is a dynamic bookmark written in pure JavaScript to invert the colors of a website (excluding images). I personally prefer dark themes because they are less tiring for the eyes. That was the motivation to create invertThemeBookmarklet.

How to use

  1. Open your favorite browser
  2. Create a new bookmark
  3. Copy the contents of invertThemeBookmarklet.min.js and paste it in the new bookmark's URL field
  4. Add a nice name to the bookmark (I chose 🌗)

Contribution

If you find a case where the script could be improved or a bug needs to be fixed, just file an issue and I'll take a look into it.

License

This script is published under the MIT License and can be used for any commercial and personal projects.

Changelog

  • 2021-08-04 v0.3 Bugfixes, improvements and dependency updates
  • 2017-11-01 v0.2 Improved element inversion
  • 2017-10-31 v0.1 Working version