back2themoon wrote: ↑2022-12-23, 23:29
No one will remember or care about the "actual" percentages.
Furthermore, if NoSquint also changed the "textZoom" value along with the "fullZoom" value, it would be more difficult to fine-tune a site's zoom level, with both numbers constantly changing. With this logic, then the reverse should be true: touching "textZoom" should also affect the "fullZoom" values in some way.
In fact, I want to be correctly informed about zooom levels. Also, it is possible to modify "Text Zoom" and "NON-Text Zoom" INDEPENDENT of each other, so it will be simple to "fine-tune a site's zoom level". This behaviour is possible, so I made the add-on
Text-Zoom and NON-Text-Zoom Controls with Label which meets the above requirements.
The add-on saves in real time (in "prefs.js" file) the "Text Zoom" and "NON-Text Zoom" changes for all "domains" affected by the changes (but NOT for individual URLs). When reverting to the "default" values (100%) for a particular "domain", that "domain" will be deleted from "prefs.js" file.
Being saved to disk, the add-on will remember the modified "Text Zoom" and "NON-Text Zoom" levels for each domain affected by changes and so they will be available again after restarting Pale Moon.
IMPORTANT!
To work correctly, the add-on modifies the following "default" settings in "about:config" as follows:
browser.zoom.full = false
browser.zoom.siteSpecific = false
However, it is no longer necessary the "browser.zoom.siteSpecific = true" setting because the add-on remembers all zoom changes made to all "domains" ("siteSpecific").
Also, the "browser.zoom.full = true" setting is no longer needed because it makes Pale Moon treat "Text Zoom" and "NON-Text Zoom" as a whole while my add-on treats them independently.
This add-on installs automatically to the end of "Menu Bar".
HELP:
"Click" on the "+" button ONLY zooms the text on the page (Text Zoom IN) .
"Ctrl-Click" on the "+" button zooms everything EXCEPT text (NON-Text Zoom IN).
"Click" on the "-" button ONLY zooms-out the text on the page (Text Zoom OUT).
"Ctrl-Click" on the "-" button zooms-out everything EXCEPT text (NON-Text Zoom OUT).
"Right-Click" on any of the two "labels" (Text Zoom Label / NON-Text Zoom Label) resets both "Text Zoom" and "NON-Text Zoom" to the "default" (100%) for the "domain" to which the current page belongs.
"Ctrl-Click" on any of the two "labels" (Text Zoom Label / NON-Text Zoom Label) displays the domains saved in "prefs.js" file along with the "Text Zoom" and "NON-Text Zoom" values.
Screenshots:
*****
Text-Zoom and NON-Text-Zoom Controls with Label v1.0 download link:
https://www.mediafire.com/file/1ixndb5yg7b0bbf/both_zoom_controls_with_label_v1_0.zip/file