Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome maximum zoom level?

Is there any way to change maximum zoom level in Google Chrome? Sometimes I need to view the details of images, especially SVG, but Chrome's zoom maximum is 500%.

Additionally, I'd like to increase the limit for the zoom gesture on touchpad, because this is way below 500%.

like image 950
Robo Robok Avatar asked Jun 30 '15 09:06

Robo Robok


1 Answers

You can create a chrome extension to inject this code on the page you want to zoom:

document.body.style.zoom = "800%" 

You could make the extension change the value at any time as well with a little bit of work.

Example of this working on google.com : http://i.stack.imgur.com/EdDRH.png

Left is 800% right is 500% for comparison.

Will probably mess up formatting on a lot of pages but this is expected at that level of zoom.

To make this a working chrome extension you would need two files. manifest.json and zoom.js as follows:

manifest.json

{
  "manifest_version": 2,

  "name": "ZoomTest",
  "description": "",
  "version": "0.1",

  "content_scripts": [
        {
            "matches": ["https://*.google.com/*"],
            "js": ["zoom.js"]
        }
    ]

}

zoom.js

document.body.style.zoom = "800%" 

Put them both in a folder and then enter "chrome://extensions/" in your chrome address bar. From there check "Developer mode" and click "load unpack extension". Select the folder you put the files in from the dialog. That should do it. Now google.com should be zoomed at 800%!

To learn more about what you can do from there see: https://developer.chrome.com/extensions

like image 161
Paul Hansen Avatar answered Sep 27 '22 20:09

Paul Hansen