Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

Is there some setting or extension to make the "allow pages to set own fonts", minimum font size and zoom level site specific?

  • 4 odgovora
  • 1 ima ovaj problem
  • 7 prikaza
  • Posljednji odgovor od Luvirini

more options

Seems that youtube has taken away the ability to use the old layout with many columns so it wants to show annoyingly large things on the screen and with way too few columns. (Yes, strange enough, I want to see more than 2 columns on a 65" display)

Thus the extension that I was using earlier to force youtube to use old layout obviously no longer works.

I found that if I set the zoom to 67% and remove the checkbox that allows the site to set own fonts and sizes, along with using font 24 as minimum size seems to produce a readable text size and yet show 6 videos/column.

But I do not want to have other sites like that, so would want to apply it only to youtube as most other sites have actually fairly ok font sizes compared to other elements on the page and ok at 100% zoom level.

Seems that youtube has taken away the ability to use the old layout with many columns so it wants to show annoyingly large things on the screen and with way too few columns. (Yes, strange enough, I want to see more than 2 columns on a 65" display) Thus the extension that I was using earlier to force youtube to use old layout obviously no longer works. I found that if I set the zoom to 67% and remove the checkbox that allows the site to set own fonts and sizes, along with using font 24 as minimum size seems to produce a readable text size and yet show 6 videos/column. But I do not want to have other sites like that, so would want to apply it only to youtube as most other sites have actually fairly ok font sizes compared to other elements on the page and ok at 100% zoom level.

Izabrano rješenje

The font settings are global, so I'll suggest a different direction.

Either Firefox (though an optional userContent.css file) or an add-on (such as Stylus) can inject style rules directly into pages on specific sites to supplement and override their built-in rules. This often takes a lot of experimentation to get just right, and obviously our monitor situations are very different, so it's difficult to compare directly.

In case no one here comes up with a formula, a good community for getting help building style rules is this one over on Reddit: https://www.reddit.com/r/FirefoxCSS/

Pročitaj ovaj odgovor u kontekstu 👍 1

Svi odgovori (4)

more options

Odabrano rješenje

The font settings are global, so I'll suggest a different direction.

Either Firefox (though an optional userContent.css file) or an add-on (such as Stylus) can inject style rules directly into pages on specific sites to supplement and override their built-in rules. This often takes a lot of experimentation to get just right, and obviously our monitor situations are very different, so it's difficult to compare directly.

In case no one here comes up with a formula, a good community for getting help building style rules is this one over on Reddit: https://www.reddit.com/r/FirefoxCSS/

more options

The fonts are indeed easy enough to set with a site specific style sheet.

But: According to https://developer.mozilla.org/en-US/docs/Web/CSS/zoom Firefox does not support the zoom property.

So a site specific style sheet would not work to set the zoom level for that site?

Or am I missing something?

more options

Hi Luvirini, the zoom level already is a site-specific "content preference" so you don't need a style rule for that.

more options

Thank you. Yes, that solution seemed to do the trick.