So I read about Firefox shortcuts and I figured to open the current tab in a new window:
- Ctrl+L
- Shift+Enter
So I read about Firefox shortcuts and I figured to open the current tab in a new window:
Today I learned about the “Lobotomized Owl” CSS selector over on Axiomatic CSS and Lobotomized Owls.
Today I read Things I Wish I’d Known About CSS. Good read about how some fundamental CSS things work.
Today I read Ten modern layouts in one line of CSS about advanced contemporary CSS features.
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; }
}
I might be a little behind the times here but I learned about Lighthouse today. It’s from Google, which is regrettable, but I might check it out some time.
Today I had cause to read about Operator Precedence in PHP. I think I will consider availing myself of the ‘and’ and ‘or’ keywords in future, I haven’t used them myself, although I have seen them before.
Today on r/programming was an article Scaling to 100k Users which discusses the phases you go through as you grow.
Today I saw on r/programming a post by Julia Evans titled A little bit of plain JavaScript can do a lot. She discusses some of JavaScript’s more powerful contemporary features.
Today I read How Much Does It Cost To Run This Blog?. The bottom line was:
| Item | Monthly Cost |
| Domain registration | £0.49 ($0.62) |
| VPS hosting | £12.00 ($15.23) |
| DNS hosting | £1.54 ($1.95) |
| WP Rocket plugin | £0.79 ($1.00) |
| ShortPixel credits | £0.65 ($0.83) |
| Updraftplus SFTP plugin | £0.79 ($1.00) |
| Yoast SEO plugin | £8.90 ($11.30) |
| Total: | £25.16 ($31.93) |