Reading Ruler 阅读标尺

A reading ruler tool to help focus while reading, with duplicate prevention

Autor
向朴
Dnevne instalacije
0
Ukupnih instalacija
7
Ocjene
0 0 0
Verzija
0.2
Stvoreno
20.12.2024.
Ažurirano
21.12.2024.
Licenza
GPL-3.0-or-later
Primjenjuje se
Sve stranice

简介

Reading Ruler 是一个 Tampermonkey 脚本,用于在网页上显示一个可自定义的阅读标尺,帮助用户专注于阅读特定行。标尺支持调整高度、颜色、透明度,并提供反色模式,适用于不同阅读需求。

Reading Ruler is a Tampermonkey script that displays a customizable reading ruler on web pages, helping users focus on specific lines while reading. The ruler supports adjustable height, color, opacity, and an inverted mode for different reading preferences.


功能特点

Features

  1. 自定义标尺:调整标尺的高度、颜色和透明度,还可以启用反色模式。
    Customizable Ruler: Adjust the ruler's height, color, and opacity, with an option to enable inverted mode.
  2. 动态跟随:标尺会跟随鼠标指针移动到当前阅读的行。
    Dynamic Tracking: The ruler follows the mouse pointer, highlighting the current reading line.
  3. 拖拽控件:控制按钮可以拖动到屏幕上任何位置,方便操作。
    Draggable Control: The control button can be moved anywhere on the screen for convenient access.
  4. 设置保存:标尺设置会自动保存,即使刷新网页也能保持自定义配置。
    Persistent Settings: The script saves settings automatically, so your customizations persist after refreshing the page.
  5. 快捷设置面板:右键点击控制按钮即可快速调整标尺参数。
    Quick Settings Panel: Right-click the control button to adjust ruler parameters easily.

可选参数

Optional Settings

参数/Setting 描述/Description 默认值/Default Value
高度/Height 标尺的高度,单位为像素。 30 px
颜色/Color 标尺的背景颜色,可以通过颜色选择器调整。 #ffeb3b
透明度/Opacity 标尺的透明度,范围为 0(完全透明)到 1(不透明)。 0.3
反色模式/Inverted Mode 开启时,标尺颜色反转,适合夜间模式。 关闭/Disabled

常见问题

FAQ

  1. 如何显示或隐藏标尺?
    点击左侧 📏 图标 即可启用或禁用标尺。
    How do I show or hide the ruler?
    Click the 📏 icon on the left side to enable or disable the ruler.

  2. 如何调整标尺参数?
    右键点击图标,打开设置面板后即可调整高度、颜色、透明度等参数。
    How do I adjust ruler parameters?
    Right-click the icon to open the settings panel and adjust parameters like height, color, and opacity.

  3. 标尺跟随鼠标移动功能如何启用?
    启用标尺后,鼠标移动时,标尺会自动跟随光标的位置。
    How does the ruler follow the mouse?
    Once enabled, the ruler automatically follows the cursor's vertical position as you move the mouse.

  4. 如何保存我的设置?
    设置会自动保存,无需额外操作。刷新页面后设置依然有效。
    How are my settings saved?
    Settings are saved automatically and remain effective after refreshing the page.