How to set the default zoom of browser to lowervalue(say 50% of present zoom) through prefs.js?
Hi, I want to reduce the browser zoom level to a lower value so that i could see the whole of webpage through prefs.js as its for a test automation. I just wanted to see whole page on the browser. Can any help me with what this can be achieved?
所有回复 (3)
These are the three preferences which are related to zoom in about:config - changed values in about:config are written to the prefs.js file.
toolkit.zoomManager.zoomValues
zoom.maxPercent
zoom.minPercent
I don't think zoom works directly thru the prefs.js file, though.
I suggest you look at the Mozilla Developer Network articles for help with what you want to achieve, starting with this:
https://developer.mozilla.org/en-US/docs/Full_page_zoom
Is the zoom of the webpage in browser just be controlled by some values in prefs.js as i cant tweak in any other form in the browser?
Take a look at the Default FullZoom Level extension and see if it does what you want.
https://addons.mozilla.org/en-US/firefox/addon/6965