Skip to content

A browser extension specifically for Zen Browser to make websites transparent and match the browsers aesthetics

License

Notifications You must be signed in to change notification settings

frostybiscuit/transparent-zen

Repository files navigation

Transparent Zen

Transparent Zen is a browser extension specifically designed for Zen Browser. This extension injects styles into supported websites to make them transparent, providing a new experience.

Firefox Add-Ons Buy Me A Coffee

image image image

Table of Contents

Supported Websites

The following websites are currently supported by Transparent Zen:

  • ddl-warez.cc
  • mail.proton.me
  • reddit.com
  • store.steamworks.com
  • steamcommunity.com
  • wuwatracker.com
  • youtube.com
  • wikipedia.org
  • chatgpt.com
  • copilot.microsoft.com
  • chess.com
  • github.com
  • bing.com
  • kryptex.com
  • leetcode.com
  • programiz.com (only for their dark theme)
  • nexusmods.com
  • duckduckgo.com
  • epicgames.com
  • google.com
  • notebooklm.google.com
  • outlook.live.com
  • mail.google.com (needs dark theme enabled)
  • drive.google.com (needs dark theme enabled)
  • web.whatsapp.com
  • notion.so

To Do

  • outlook.live.com
  • notebooklm.google.com
  • web.whatsapp.com
  • music.youtube.com
  • deepseek.com
  • Plex Media Server (usually 127.0.0.1:32400)
  • linkedin.com
  • google.com
  • instagram.com
  • threads.net
  • monkeytype.com
  • quora.com
  • search.brave.com
  • facebook.com
  • messenger.com
  • x.com

Dynamic Transparency

Transparent Zen has the option to make any website transparent by crawling the website and setting styles as good as possible.

While this works well on many websites, this is a very early state of this feature and will be improved with future updates to get a better experience on more websites. For the case that a website is rendered unusable with this, it is possible to disable this per domain in the extension popup.

image

To-Do

  • Reduce flashing on style application
  • Add per-site configuration
  • Add options to configure colors for supported sites
  • Improve stability
  • Find a solution for hover states
  • Rework popup for expandability

Prerequisites

Windows 11

  1. Open Zen Browser and go to about:config
  2. Make sure that browser.tabs.allow_transparent_browser, widget.transparent-windows and widget.windows.mica are all set to true
  3. Install MicaForEveryone (optional)
    • In MicaForEveryone add a new process rule and select "zen"
    • Activate Blur Behind and set the Backdrop Type to Acrylic

Linux

  1. Open Zen Browser and go to about:config. Ensure the installed version of Zen is above release 1.11.2b
  2. Make sure that browser.tabs.allow_transparent_browser and zen.widget.linux.transparency are set to true
  3. For a blurred window with KDE PLASMA, install kwin-effects-forceblur through your system repository, or build from source
    • Follow steps shown on the project Github to enable blur, and add zen to the allowlist
TODO: Add other OS prerequisites

Installation

To install Transparent Zen, you can either download it from the Firefox Add-Ons Store or grab the latest release from github and manually install it through the Zen Browser settings.

Dark Reader

If you are using Dark Reader, ensure that it is disabled for the websites you want to view as transparent.

Usage

Once installed, Transparent Zen will automatically apply transparent styles to the supported websites listed above. No further configuration is required.

Customization

I highly recommend darkening the browser theme slightly by right-clicking the Zen Browser Toolbar and selecting Change Theme Colors. I'm personally using the hex code #00000066 which darkens the browser background slightly while maintaining readability. But of course, feel free to play around to find the best color to your liking!

⚠️ Since Zen Browser 1.8.1b you need to set zen.theme.gradient.show-custom-colors to true in about:config in order to be able to set a hex code for the theme color

For a really clean experience I also recommend to remove the light background behind the "website rendering area" which was added with a recent update. To do that, just add this snippet to your userChrome.css:

:root:not([inDOMFullscreen="true"]):not([chromehidden~="location"]):not([chromehidden~="toolbar"]) {
  & #tabbrowser-tabbox #tabbrowser-tabpanels .browserSidebarContainer {
    & browser[transparent="true"] {
      background: none !important;
    }
  }
}

If you're unsure where to find the userChrome.css, you can follow steps 1-5 here: https://www.userchrome.org/how-create-userchrome-css.html

Contributing

The main idea behind this project is for the community to contribute and add styles for their favorite websites, so that everyone can enjoy a fully transparent experience.
If you would like to contribute to Transparent Zen, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with a descriptive message.
  4. Push your changes to your fork and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Enjoy your transparent browsing experience with Transparent Zen!