Safari: Any way to initiate pinch-to-zoom without trackpad?

Command + (Zoom in) and Command - (Zoom out) are different from pinch-to-zoom on a trackpad. The former changes the layout of the page, whereas the latter just enlarges the page as if a magnifier was used.

Is there any way to initiate pinch-to-zoom without a trackpad? Any methods such as a keyboard shortcut or an API.


Not sure if this is a proper solution since it involves Logi Option app (for setting up Logitech wired/wireless keyboards and mice). But it works for me with my MX Master 2S mouse.

I found out that the Zoom function in Logi Option app does the same thing as a pinch zoom on trackpad. It's vector kind of zoom - not pixelated like bitmap zoom. I've assigned my Gesture Button for "Zoom using scroll wheel" (hold down Gesture Button and scroll up/down for zooming in/out).

There is also a quicker Smart Zoom option for one-click, one-level zoom.

Logi Option Zoom mimics pinch zoom on trackpad


I am using Apple Magic Mouse.

In Settings > Mouse > Point & Click, there's a check box to turn on Smart Zoom that allows you to double-tap (tap not click!) the Magic Mouse and it zooms just like the trackpad. It zooms the whole page.

Mouse settings

I'm not sure about other Mouse brands though. I will update if I try another mouse.