為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 有這個問題
  • 16 次檢視
  • 最近回覆由 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.