Change page size or font size with keyboard shortcuts

Make page narrower/wider or change the font size with keyboard shortcuts

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
keyboard-shortcuts
日安装量
0
总安装量
35
评分
0 0 1
版本
0.2
创建于
2021-11-21
更新于
2023-01-01
大小
5.9 KB
许可证
MIT
适用于
所有网站

Make page narrow with keyboard shortcut

Ever been on a page that's unreadable because it's so wide that it fills the whole screen? This script provides a shortcut to make it narrow and more readable, increasing the font if you want it to.

Shortcuts

The shortcuts are easily configurable in the script, with documented options. By default:

→ Press Alt + N to make the page narrow and more readable. This is the "initial" shortcut.

Once the initial shortcut has been pressed, the following changes can be made:

on Windows or Linux:

  • Press Ctrl + Shift + Right Arrow to make the page wider.
  • Press Ctrl + Shift + Left Arrow to make the page narrower.
  • Press Ctrl + Shift + Up Arrow to increase the font size.
  • Press Ctrl + Shift + Down Arrow to decrease the font size.

on macOS:

  • Press Alt + Shift + Right Arrow to make the page wider.
  • Press Alt + Shift + Left Arrow to make the page narrower.
  • Press Alt + Shift + Up Arrow to increase the font size.
  • Press Alt + Shift + Down Arrow to decrease the font size.

Screenshots

Go from this:

Press Alt + N to go to this: