Firefox snap, Ubuntu, EPSON printer not available

So I had to repave my primary workstation to fix a problem with my ZFS configuration (my ashift setting was causing problems) and things are mostly back online, but I wasn’t able to print from firefox for some reason.

I think the problem was that I had installed firefox prior to adding the printer. Anyway, long story short, this command seemed to fix the problem for me:

# snap connect firefox:cups-control

Configuring download directory for Chromium and Firefox snaps

So I read this and this and solved my problem. Basically I bind /temp/download to /media/$USER/download and then I can set the download directory in Chromium and Firefox snaps to /media/$USER/download and my downloads go where I want them. This was actually harder to figure out than it should have been.

How to Customize Firefox’s User Interface With userChrome.css

Today I read How to Customize Firefox’s User Interface With userChrome.css. You may need to enable with e.g. Firefox 69: userChrome.css and userContent.css disabled by default. If you change userContent.css you need to open your page in a new tab to force an update. I would guess that if you change userChrome.css you will need to restart Firefox (I don’t know I’ve only been using userContent.css).

I should be clear: there are two files: userChrome.css (which affects Firefox features like toolbars and tabs etc) and userContent.css (which affects web pages loaded in Firefox).

I’ve been using userContent.css to fixup CSS on various websites. You can limit your changes to a particular domain in this way:

/* 2020-07-01 jj5 - SEE: https://exploringjs.com/impatient-js/toc.html */
@-moz-document domain(exploringjs.com) {
  a:visited { color: purple !important; }
}