
Zoomed in too much when using the about:config?
Hello... I'm now having to use another browser for now. I made Firefox unusable. I was trying to find a way to zoom in a specific amount on Firefox, and found a way using about:config and changed a value(I think it had something mentioned like perpixels?) and now... Firefox is zoomed in WAY too much, and I can't see the page to change it back now.
Anyone know a way to reset it, despite the browser looking like this...
Chosen solution
I think you mean this preference:
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste devp and pause while the list is filtered
(3) Double-click layout.css.devPixelsPerPx and change its value to 1.5 which corresponds to 150% font size in Windows display settings.
But probably yours is a lot higher. So let's discuss how to "recover"!
(A) Using the about:config page
This definitely is easiest. If you cannot still see the search box above the list, and at least one row of preferences, try "zooming out" by holding down Ctrl and tapping - several times until the top row of preferences comes into view.
Then use the above steps.
To restore a normal zoom level after that, hold down the Ctrl key and tap 0 (that's zero).
(B) Editing the prefs.js file on disk
This file will have a line similar to
user_pref("layout.css.devPixelsPerPx", "1.5");
which you either could correct the zoom level to what you want or just delete completely to go back to Firefox's default value.
Accessing the profile folder on disk is a bit of a chore but this article will get you started:
Profiles - Where Firefox stores your bookmarks, passwords and other user data
Please not that the default double-click action for a .js file is to execute it as a Windows script. That's not safe; don't double-click .js files! You can right-click prefs.js and try either Edit or Open With.
Or if you are willing to live without the customizations in the file, you can rename it OLDprefs.js (so you can consult it later for critical preferences).
(C) Do a Firefox Refresh as a last resort
See: Refresh Firefox - reset add-ons and settings
Read this answer in context 👍 1All Replies (3)
Oh. I didn't attach my screenshot. Here it is:
Chosen Solution
I think you mean this preference:
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste devp and pause while the list is filtered
(3) Double-click layout.css.devPixelsPerPx and change its value to 1.5 which corresponds to 150% font size in Windows display settings.
But probably yours is a lot higher. So let's discuss how to "recover"!
(A) Using the about:config page
This definitely is easiest. If you cannot still see the search box above the list, and at least one row of preferences, try "zooming out" by holding down Ctrl and tapping - several times until the top row of preferences comes into view.
Then use the above steps.
To restore a normal zoom level after that, hold down the Ctrl key and tap 0 (that's zero).
(B) Editing the prefs.js file on disk
This file will have a line similar to
user_pref("layout.css.devPixelsPerPx", "1.5");
which you either could correct the zoom level to what you want or just delete completely to go back to Firefox's default value.
Accessing the profile folder on disk is a bit of a chore but this article will get you started:
Profiles - Where Firefox stores your bookmarks, passwords and other user data
Please not that the default double-click action for a .js file is to execute it as a Windows script. That's not safe; don't double-click .js files! You can right-click prefs.js and try either Edit or Open With.
Or if you are willing to live without the customizations in the file, you can rename it OLDprefs.js (so you can consult it later for critical preferences).
(C) Do a Firefox Refresh as a last resort
Thank you jscher2000, and for replying so quickly too. Solution B did sort it :)
Next time I'll try not to be so careless changing configure files...