Change page size or font size with keyboard shortcuts

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

Autor
keyboard-shortcuts
Installationen heute
0
Installationen gesamt
33
Bewertungen
0 0 0
Version
0.2
Erstellt am
21.11.2021
Letzte Aktualisierung
01.01.2023
Lizenz
MIT
Wird angewandt auf
Alle Seiten

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: