搜尋 Mozilla 技術支援網站

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

了解更多

Separately change BOTH text zoom only and website zoom to custom value

  • 6 回覆
  • 1 有這個問題
  • 31 次檢視
  • 最近回覆由 bheliar

more options

I would very much like to adjust the text zoom of my (updated current firefox) browser (to 170%) and the normal zoom to something around 130-150%. That would allow me to read from distance and use the whole screen. However, firefox only allows "text-only" zoom OR "whole site" zoom (in "about:preferences"). Is there an addon or an "about:config" setting where I could globally adjust text zoom and website zoom to distinct values at once (without setting "website zoom" to 100% for example, when adjusting "text-only")

I would greatly appreciate a solution! Thanks, best regards Gregor

I would very much like to adjust the text zoom of my (updated current firefox) browser (to 170%) and the normal zoom to something around 130-150%. That would allow me to read from distance and use the whole screen. However, firefox only allows "text-only" zoom OR "whole site" zoom (in "about:preferences"). Is there an addon or an "about:config" setting where I could globally adjust text zoom and website zoom to distinct values at once (without setting "website zoom" to 100% for example, when adjusting "text-only") I would greatly appreciate a solution! Thanks, best regards Gregor

被選擇的解決方法

Hi Gregor, this is an interesting conundrum. Here's an idea, with the details to follow if you want to try it:

(A) Increase the base scaling factor globally in your Firefox.

This is always proportional. However, it affects both your toolbar area and the content area, so you lose a little space for the page.

(B) Then turn on Text-Only zoom for the fine tuning.


Here's how you set up (A):

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste devp and pause while the list is filtered

(3) Take a look at the layout.css.devPixelsPerPx preference. The default value of **-1** means to follow the system scaling. With large monitors, that usually is 100%, and with laptop screens it often is 125%. Microsoft seems to vary it.

We are going to override this value with a specific percentage, written as a ratio. If there is a tragic typo, use the reset button (left-arching arrow) at the right end of the bar to go back to the default.

Double-click the layout.css.devPixelsPerPx preference to display an editing field. Change the value to 1.5 which means 150% and then press Enter or click the blue check mark button to save the change.

After a few moments, Firefox should resize everything. Compare tabs that contain content you want to zoom, which now might be way too large. Hold Ctrl and tap 0 to reset zoom on the page and see whether that is a good baseline from which to apply text-only zoom.

If it's too big, try modifying the preference value to 1.25 and it's it's too small, you could try 1.75 or 2.0 instead.

Once you find a comfortable number, you're done. This is the new "100%" as far as page zooming is concerned.

Since there is a new global baseline, you'll probably have to adjust zoom on pages where Firefox saved your previous preference.

What do you think?

從原來的回覆中察看解決方案 👍 2

所有回覆 (6)

more options

https://addons.mozilla.org/en-US/firefox/addon/nosquint-plus/ NoSquint Plus by Baris Derin

Manage site-specific zoom levels and color settings

more options

Hi and thanks for your reply. I thought this was discontinued. It seems to be primarily for Chrome now. However, this does not work with some (or all?) Javascript base sites. There, text-only is not working unfortunately...

由 bheliar 於 修改

more options

Contact their support if there are issues or questions.

more options

After testing no squint for the day I am not convinced and will remove the addon. Most of the time adjusting a site specific setting is not working properly. Either it is not working at all (slider in the addon dropdown menu from the button) or only one text or full zoom is working.

more options

選擇的解決方法

Hi Gregor, this is an interesting conundrum. Here's an idea, with the details to follow if you want to try it:

(A) Increase the base scaling factor globally in your Firefox.

This is always proportional. However, it affects both your toolbar area and the content area, so you lose a little space for the page.

(B) Then turn on Text-Only zoom for the fine tuning.


Here's how you set up (A):

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste devp and pause while the list is filtered

(3) Take a look at the layout.css.devPixelsPerPx preference. The default value of **-1** means to follow the system scaling. With large monitors, that usually is 100%, and with laptop screens it often is 125%. Microsoft seems to vary it.

We are going to override this value with a specific percentage, written as a ratio. If there is a tragic typo, use the reset button (left-arching arrow) at the right end of the bar to go back to the default.

Double-click the layout.css.devPixelsPerPx preference to display an editing field. Change the value to 1.5 which means 150% and then press Enter or click the blue check mark button to save the change.

After a few moments, Firefox should resize everything. Compare tabs that contain content you want to zoom, which now might be way too large. Hold Ctrl and tap 0 to reset zoom on the page and see whether that is a good baseline from which to apply text-only zoom.

If it's too big, try modifying the preference value to 1.25 and it's it's too small, you could try 1.75 or 2.0 instead.

Once you find a comfortable number, you're done. This is the new "100%" as far as page zooming is concerned.

Since there is a new global baseline, you'll probably have to adjust zoom on pages where Firefox saved your previous preference.

What do you think?

more options

Thanks a lot for your response! This is pretty much what I was lookin for! You're right with loosing some space, but when in fullscreen mode (which I normally use anyways) this is less of a problem. Great, thank you! Best regards Gregor