Disclaimer: Not talking about Ctrl + Scroll.
I tried the Mouse Pinch-To-Zoom extension, which is buggy on some sites. And I even bought a physical touchpad for pinch zoom. Today I just leaned that it’s natively supported as an experiment feature by FireFox
There are specific actions defined to set what happens if you rotate the mouse wheel and hold down modifier keys like Alt or Ctrl or Shift. You can disable this action by setting the related mousewheel pref to 0 (zero) on the about:config page.
mousewheel.with_alt.action = 0
0: Nothing happens
1: Scrolling contents
2: Go back or go forward, in your history
3: Zoom in or out (reflowing zoom)
4: Treat vertical wheel as horizontal scroll
5: Zoom in or out (pinch zoom)
I changed the value to 5, and it works perfectly.
Disclaimer: Not talking about Ctrl + Scroll.
oh…
grampasimpsonleavingafterseeingbart.gif
Can you describe the difference between reflowing zoom and pinch zoom?
With reflowing zoom, all elements get bigger, but lose their relative sizing; eg. sidebars will remain on the screen, taking up relatively more space than they usually would. With pinch zoom, all elements get bigger, and retain their relative sizing to each other.
Basically, reflowing zoom tries to fit everything into a smaller space, while pinch zoom expands everything equally.
I’ve rebound my ctrl+mousewheel to be pinch zoom. It’s much more what I want when trying to zoom a webpage.
Presumably reflowing zoom would be the same as upping the zoom level of the browser (so like the Ctrl+scroll mentioned in the post).
You know when you make your browser screen narrower the content on the page (should) move around in such a way that you don’t need to scroll horizontally to see everything.
In theory it would do something like this:
Full width:
1 2 3 4Narrower:
1 2 3 4Even narrower:
1 2 3 4That’s what “reflowing” means in a web development context.
The way that that traditional zoom would work is kind of similar in that it just renders the entire page at the magnifying level you’ve got it set to, which has the side effect of basically giving the window less room to render in.
A 10px by 10px box rendered at 200% zoom would be rendered as 20 by 20.
If your browser window is 100px by 100px then at 100% zoom it’s taking up 10% of the screen in either direction, but at 200% zoom (but the same actual window size) it’s taking up 20% in either direction, like you’ve made your browser window 50 by 50.
Pinch to zoom doesn’t do that. It makes everything bigger, but doesn’t trigger any reflow, so by zooming in content may appear off screen and require you to scroll to it to see things.
Both methods have their uses. If you’re someone that just needs everything on your web page a bigger than the default it’s probably better to use the traditional zoom method so as not to introduce additional horizontal scrolling as you use the page. If you can use most of the page just fine at your current zoom level but need to blow up the occasional thing on the page to make out some sort of detail then pinch to zoom would be a lot easier than zooming the entire page in, letting it reflow, and then finding what you need to find again.
I was looking for something like this. Thank you!
Then you us kb to page up/down, and continue with mouse to click a link?
Well unless you have other mouse buttons, this setting make no sense to most of us.
The answer to the question is no. In my settings, zoom only works while holding down the Alt key. So it is fine.




