GGN Theme Switcher

Modify page body class to specified class and provide theme switching functionality

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Robin27
日安装量
0
总安装量
0
评分
0 0 0
版本
2.1
创建于
2025-09-30
更新于
2025-09-30
大小
12.3 KB
许可证
MIT
适用于

GGN Theme Switcher - UserScript

Overview

The GGN Theme Switcher is a Tampermonkey/Greasemonkey userscript designed to enhance your browsing experience on GazelleGames.net (GGN). It provides automatic theme management and a convenient theme switching interface.

Features

🎨 Automatic Theme Application

  • Automatically applies your configured theme class to the page body
  • Works across all GGN pages (index.php, torrent pages, etc.)
  • Handles various page states (empty class, 'warned' class, default themes)

🔄 Interactive Theme Switching

  • Theme Switcher Button: A floating button appears on the homepage (index.php)
  • Left Click: Cycles through all available themes in the predefined list
  • Right Click: Copies the current theme ID to clipboard for easy sharing
  • Visual Feedback: Button shows current theme and provides hover effects

⚙️ Configuration Options

  • Custom Default Theme: Set your preferred theme class via the Tampermonkey menu