☰

F95Zone-Toolbox

A collection of JS modules for F95Zone that can be individually toggled by the user.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴、Greasemonkey 油猴子 或 Violentmonkey 暴力猴,才能安装此脚本。

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴 或 Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

作者
equmaq
日安装量
0
总安装量
38
评分
0 0 0
版本
3.1.1
创建于
2026-08-11
更新于
2026-11-29
大小
13.2 KB
许可证
暂无
适用于

F95Zone Toolbox

A small, sharp userscript for making F95Zone less tedious.

F95Zone Toolbox bundles independent quality-of-life modules into one configurable userscript. Enable only what you want; settings persist through the userscript manager and changes take effect after reload.

What It Does

Module Purpose
+1 Blocker Removes replies containing only a number, such as +1 or 42.
Instant Ignore Ignores a thread directly and returns to that thread instead of opening the confirmation flow.
Masked Link Skipper Automatically submits F95Zone download continuation forms.
Button Highlights Makes Unignore thread and Unwatch controls stand out.
Watched Thread Highlights Emphasizes watched threads on the latest updates page.

Every module is disabled by default and can be toggled from the F95Zone Toolbox configuration dialog.

Install

Install the generated userscript through your preferred userscript manager:

The script matches https://f95zone.to/* and supports Tampermonkey, Violentmonkey, and Greasemonkey-compatible managers.

Development

npm install
npm run build

The production userscript is written to dist/.

For iterative development:

npm run watch

BundleMonkey performs the bundling. The build wrapper also handles the workspace path safely and generates the module registry and dialog assets automatically.

Project Shape

src/f95zone-toolbox/
├── index.user.js                 # runtime, settings, and dialog coordinator
├── dialog.html                   # dialog markup
├── dialog.css                    # dialog styling
└── modules/
    ├── plus-one-blocker.js
    ├── instant-ignore.js
    ├── masked-link-skipper.js
    ├── highlight-buttons.js
    └── highlight-watched-threads.js

Add A Module

Create one file in src/f95zone-toolbox/modules/ and export a module object:

export default {
  key: 'myModuleEnabled',
  type: 'function', // 'function' or 'style'
  title: 'My Module',
  description: 'What this module does.',
  enabledByDefault: false,
  run({ document, window, location, isThreadPage, isDownloadPage }) {
    // Module behavior
  },
};

That is all. The build automatically discovers every .js file in the modules folder, adds it to the toolbox dialog, persists its setting, and runs it when enabled.

Use the supplied context to keep page checks local to the module. For example, return immediately when isThreadPage or isDownloadPage does not apply.

Runtime Notes

  • Settings use GM_getValue/GM_setValue or modern GM.getValue/GM.setValue APIs.
  • localStorage is used as a fallback when no GM storage API is available.
  • The userscript menu contains F95Zone Toolbox: Open config.
  • The configuration dialog opens automatically on first install and after a version change.

License

GPL-3.0

AI Disclosure

GitHub Copilot was occasionally used for IntelliSense and inline suggestions during development. Migration to bundlemonkey mostly done by AI.