|
Firefox 3 gets full-page zoom - TechAmok
Firefox 3 gets full-page zoom - [software] 06:19 PM EDT - Jul,28 2007 - post a comment
The long-awaited page zoom feature has finally been implemented. The latest
Firefox 3 nightly build now supports full-page zooming like Opera and
Internet Explorer 7. Although the page zoom feature is fully implemented, the
user interface doesn't expose the page zoom functionality to the end user yet.
Until menu items, toolbar buttons, or keyboard shortcuts are added to facilitate
access to the page zoom feature, most users probably won't be able to make much
use of the new feature.
In order to test it ourselves with the latest nightly build, we poked around and figured out the underlying API so that we could alter the page zoom level with Javascript. Manipulating the page zoom requires high security access, so you can't do it directly in a web page or with a JavaScript bookmarklet. You could potentially implement support controlling page zoom by making a custom Firefox plugin, but for simple testing purposes you can also just use Firefox's built-in JavaScript error console. Launch the Javascript console by selecting Error Console from Firefox's Tools menu. Then, type the following into the code text box and click the Evaluate button:
Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("navigator:browser").getBrowser().mCurrentBrowser.markupDocumentViewer.fullZoom = 3;
That will zoom in the current page to three times its normal size. You can experiment with various values to see the page at different zoom levels. If you want to zoom out, use decimals like 0.2 or 0.6. This very useful feature is yet another example of Firefox 3 improvements made possible by the excellent work that has gone into Gecko 1.9.
|
|
Add your comment (free registrationrequired)
Short overview of recent news articles |
Apr,23 2024 ATLAS | Official Trailer | Netflix Apr,22 2024 The World's Fastest CPU (Technically...) - Intel i9-14900KS Apr,22 2024 We can do THIS now! - Lumafield CT Scanner Apr,21 2024 Huawei Pura 70 Ultra - Apple Should be WORRIED Apr,21 2024 Sony 2024 TV Lineup Revealed Apr,20 2024 ICE - A Thousand Suns / Episode 1 Apr,20 2024 Minisforum V3 AMD Tablet Review Apr,20 2024 AMD & Intel SLASH CPU Prices! Apr,20 2024 EK is Imploding: Not Paying Employees, Partners, & Suppliers Apr,20 2024 Backing Up My NAS To My... Parents' House? Apr,20 2024 NEW Ryzen APU BEATS RTX 40 GPUs! Apr,20 2024 (Live) Black Tape Project - All New Raw and Uncut - LA Fashion Week Apr,19 2024 NVIDIA Geforce 552.22 WHQL Driver Apr,19 2024 You Deserve this much OLED - AORUS CO49DQ Apr,19 2024 Unreal Engine 5.4 looks ULTRA PHOTOREALISTIC Apr,18 2024 Radeon RX 5700 XT vs. 7700 XT, 2024 Revisit Apr,18 2024 I Will Build You a PC Right Now! Apr,17 2024 These games carry REAL security risks! BEWARE! Apr,17 2024 Visible First to Offer Annual Payment Plan, with Discount up to 26% Apr,17 2024 Is Coding Still Worth Learning in 2024? Apr,17 2024 All New Atlas - Boston Dynamics Apr,16 2024 The NEW Chip Inside Your Phone! (NPUs) Apr,16 2024 XPS 14 vs 14" MacBook Pro - Apple just KILLED Intel! Apr,15 2024 The Most 2024 Laptop - Razer Blade 14 Review Apr,15 2024 NEVER install these programs on your PC... EVER!!! Apr,14 2024 Use Live Translate on Galaxy S24 series to translate a call's Apr,14 2024 I Tried a Non-Invasive Blood Sugar Watch. Miracle or Scam? Apr,13 2024 Samsung Galaxy Ring - This Just Got Interesting Apr,13 2024 Piracy Is Over Party - WAN Show April 12, 2024 Apr,13 2024 Conan O'Brien Needs a Doctor While Eating Spicy Wings Apr,13 2024 Beatbox Jcob recreats every sound Apr,13 2024 Intel is Gunning for NVIDIA Apr,13 2024 Building a Budget DIY Home Surveillance System Apr,12 2024 Lenovo Yoga Buyers Guide - What's the Best Thin and Light Laptop Apr,11 2024 DARK MATTER Trailer (2024) New Sci-Fi Movies 4K Apr,11 2024 How to Build a PC, the last guide you'll ever need! (2024 Update) Apr,10 2024 Intel 300 CPU Review - The Pentium Replacement is Finally Here... Apr,10 2024 Wubuntu, the Dubious Linux Windows Apr,09 2024 A Lite Version Of Windows 11 To Be Released This Year Apr,09 2024 This $150 Smartphone might be All You Need
>> News Archive <<
| |
|