/firefox-lab

testing experimental css firefox themes

Primary LanguageCSS

Blurfox

Basic setups

  1. go to about:support and open the profile folder.
  2. In the profile folder, make a new folder called 'chrome'.
  3. download userChrome.css from the repo and put it on chrome folder.

Optional

Make a new userContent.css on chrome folder. If you are going to use extensions like Stylus, this step isn't necessary.

  1. go to about:config
  2. And set this flag browser.tabs.allow_transparent_browser as true.

For Linux

The blur effect depends on the compositor not the browser. Hence the name is Invisiblefox. I won't explain that on here because every desktop envirnoment uses differnt methods for the blur.

At least I can say I tested on two DEs.

  • Gnome + Blur-my-Shell
  • Hyprland

For Windows

For Windows, you need MICA for everyone. For Acrylic effect, use blurfox-windows, and for MICA effect, use blurfox-mica.

Get the MICA for everyone here [[https://github.com/MicaForEveryone/MicaForEveryone]]

Set everything default and only set the visual style as MICA or Acrylic.

For macOS

Although the goal of this theme is just adding a transparency or blur and works with other themes for Firefox, achieving blur on macOS requires crazy layout modifications. Therefore, most of your themes won't work with this code. I don't really recommend to use this code with other themes.

Frequently asked questions

I applied the theme but the transparency doesn't work.

The code doesn't provide the full transparency on your webpage. This just remove the background of the browser's window. That means you need to remove the background of the webpage on your own. for this, you need to use userContent.css or Stylus.

Most of the time, if you set the background as a transparent, the transparency works. But based on websites, your mileage may vary. I recommend you to make your own stylesheet for the website you visits.

Why not just set everything as a transparent?

That might cause some problems. For example, Youtube player won't show no controls when you do that. So be careful with those settings.

My recommendations is just simply set

html, body {
  background: none !important;
  background-color: transparent !important;
}

Then add your own styles per websites using @-moz-document url(http://website.com).

It's too cumbersome. Any other solutions?

Try my 'No Background' userContent.css. It supports few websites and there's more to come.

Supported websites

  • Reddit
  • Github
  • Youtube
  • Google