搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 7 次查看
  • 最后回复者为 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.

被采纳的解决方案

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/

定位到答案原位置 👍 1

所有回复 (4)

more options

选择的解决方案

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.