Change page size or font size with keyboard shortcuts

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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: