Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 4 odpovede
  • 1 má tento problém
  • 19 zobrazení
  • Posledná odpoveď 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.

Vybrané riešenie

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/

Čítať túto odpoveď v kontexte 👍 1

Všetky odpovede (4)

more options

Vybrané riešenie

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.