Useless Things Series: Brightness Overlay with Slider

Centralized brightness overlay with unified control panel. Press Alt+B to toggle everything.

当前为 2025-10-31 提交的版本,查看 最新版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Useless Things Series: ??
评分
0 0 0
版本
5.0
创建于
2024-02-24
更新于
2025-10-31
大小
18.9 KB
许可证
MIT
适用于
所有网站

Brightness Overlay UserScript

This is a userscript designed for Tampermonkey that provides a brightness overlay functionality for web pages.

Purpose

The script allows users to apply a customizable brightness overlay to any web page, which can help in adjusting the visual appearance of content for better readability or personal preference.

Installation

  1. Install the Tampermonkey extension for your browser.
  2. Install the script from GreasyFork or by copying the code into a new Tampermonkey script.
  3. The script will be active on all web pages matching the specified patterns.

Usage

  • Press Alt + B to toggle the brightness overlay on or off.
  • Click the floating button (☀) in the bottom-right corner to open or close the control panel.
  • Use the slider in the control panel to adjust the brightness level from 0% to 100%.
  • Select a color using the color picker to change the overlay's tint.
  • Choose from predefined color temperature presets in the dropdown menu.
  • Use the quick preset buttons for common brightness levels (25%, 50%, 75%, 100%).
  • Click "Reset to Default" to restore the original settings.
  • The control panel will automatically hide after 8 seconds of inactivity.

Features

  • Adjustable brightness overlay from 0% to 100%.
  • Customizable overlay color with a color picker.
  • Predefined color temperature options.
  • Quick preset buttons for common brightness levels.
  • Persistent settings saved in localStorage.
  • Toggle functionality with keyboard shortcut.
  • Floating action button for easy access.
  • Auto-hiding control panel to minimize screen clutter.

Settings Persistence

The script saves the current brightness level, selected color, and overlay visibility state in the browser's localStorage, so settings are retained across browser sessions.

Compatibility

This script is designed to work on all web pages and is compatible with modern browsers that support Tampermonkey.