Firefox 不带触控板的捏合缩放

Nee*_*peg 7 firefox touchpad zoom

about:config 中是否有快捷方式或设置允许我仅通过鼠标和键盘使用捏合缩放功能?我没有触摸板,但比经典的“CSS 缩放”更喜欢捏缩放。我知道我可以使用 Windows 放大镜之类的工具,但这些工具会对图像进行光栅化...

小智 8

从 Firefox 83 开始,您可以在页面中设置该mousewheel.with_control.action属性。5about:config

ctrl+mousewheel然后将控制捏缩放而不是常规缩放。

如果您需要其他键绑定,可以使用以下之一:

mousewheel.default.action
mousewheel.with_alt.action
mousewheel.with_control.action
mousewheel.with_meta.action
mousewheel.with_shift.action
mousewheel.with_win.action
Run Code Online (Sandbox Code Playgroud)

Firefox 源代码中可能的值是:

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).
Run Code Online (Sandbox Code Playgroud)