Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Implement full page zoom in the WebKit browser Web Browsers
One of Firefox's niftier features is its full page zoom -- when you increase or decrease the size of page, everything on the page (text, images, etc.) zooms or shrinks at the same time. This helps keep the layout of the page closer to the original design when zooming; the end result (to me, anyway) looks nicer than when zooming just the text. The shipping version of Safari, on the other hand, only zooms or shrinks text, not images and other elements.

If you're running the WebKit version of Safari, however, you can activate full-page zooming using a simple Terminal command. Thanks to pamon for emailing me a pointer to this page on the Surfin' Safari blog that reveals the Terminal command. Quit Safari and WebKit, then enter this command in Terminal:
defaults write com.apple.Safari WebKitDebugFullPageZoomPreferenceKey 1
Launch WebKit, load a page, then experiment with Command-Minus and Command-Plus (technically, Command-Equals). You should see that all objects on the page are being resized, not just text. Note that Safari, because it uses an older version of the WebKit engine, won't be able to do full page zooming, even after running the above Terminal command. To reverse the settings, reverting WebKit to the "text only" zoom mode, repeat the above command, but change 1 to 0.
    •    
  • Currently 2.75 / 5
  You rated: 5 / 5 (8 votes cast)
 
[13,686 views]  

Implement full page zoom in the WebKit browser | 10 comments | Create New Account
Click here to return to the 'Implement full page zoom in the WebKit browser' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Implement full page zoom in the WebKit browser
Authored by: asmeurer on Jun 06, '08 10:29:32AM

You could just do a Control-Scroll if you aren't zooming too far in.



[ Reply to This | # ]
Implement full page zoom in the WebKit browser
Authored by: sebastianlewis on Jun 07, '08 06:10:47PM

That's not the same thing, ctrl+scroll resizes everything on screen, this only resizes everything in a browser page (without resizing the browser window itself).

Sebastian



[ Reply to This | # ]
Implement full page zoom in the WebKit browser
Authored by: Fairly on Jun 07, '08 09:22:44AM
Don't reverse it by using 0 instead of 1 - that's sloppy. Reverse it by removing the key.

defaults delete com.apple.Safari WebKitDebugFullPageZoomPreferenceKey

[ Reply to This | # ]
Firefox does what, again?
Authored by: chsnyder on Jun 07, '08 10:34:43AM

In all the Firefoxen I have ever used, only the text size changes.

Is full page zoom a new feature in FF3 or something?



[ Reply to This | # ]
Firefox does what, again?
Authored by: sebastianlewis on Jun 07, '08 06:08:42PM

I don't know if it's new to FF3, I never used Zooming in Firefox when I did use it and I've been using Camino and then Safari for the past year and a half (after I bought my Macbook, also my first Mac) but now I'm using Firefox 3 RC2 and yes, it does have full page zoom.

Sebastian



[ Reply to This | # ]
Firefox does what, again?
Authored by: juandesant on Jun 11, '08 02:09:42PM

Never saw it in Firefox, but Opera works this way.

---
Juan de Dios Santander Vela
Electronics Engineer
Astronomy Software Developer
Ph.D. Student



[ Reply to This | # ]
Firefox does what, again?
Authored by: robg on Jun 13, '08 07:31:23AM

Sorry, should have been clearer -- it's a Firefox 3 feature.

-rob.



[ Reply to This | # ]
Implement full page zoom in the WebKit browser
Authored by: bkemper on Jun 08, '08 05:02:02PM

I'd rather know how to turn it off in FireFox.



[ Reply to This | # ]
Implement full page zoom in the WebKit browser
Authored by: robg on Jun 13, '08 07:33:27AM
That's pretty simple, too -- type about:config in the URL bar, then click OK (or whatever it is) to get past the warning dialog.

In the new config screen, search for browser.zoom.full. Double-click anywhere on that entry to switch it from true to false, and you've disabled full page zoom.

-rob.

[ Reply to This | # ]
Implement full page zoom in the WebKit browser
Authored by: GrandLepton on Sep 20, '08 04:42:23PM

This is fine, but an issue is it does not transfer the contents to Web Clip as resized. Size is reset to original.



[ Reply to This | # ]