Darkenator: Wikipedia Dark Mode

Toggleable dark mode for Wikipedia. Easy on the eyes. 🌙

作者
Devaansh Pathak
日安装量
0
总安装量
0
评分
0 0 0
版本
1.0
创建于
2025-06-20
更新于
2025-06-20
大小
2.3 KB
许可证
MIT
适用于

🌙 Darkenator is a lightweight userscript that adds a clean, toggleable dark mode to all Wikipedia pages.

🌓 A floating toggle button appears in the bottom-right corner. Just click it to turn dark mode on or off — it works instantly and doesn't affect images or layout.


✅ Features

  • Toggleable dark mode button (🌓)
  • Darkens the background, content, tables, links, and sidebars
  • Works across all *.wikipedia.org pages (desktop only)
  • One-click installation — no setup required

💡 Instructions

  1. Install Tampermonkey for your browser:

  2. Click the "Install this script" button on GreasyFork.

  3. Visit any Wikipedia page — like https://en.wikipedia.org/wiki/Moon

  4. Click the 🌓 toggle button in the bottom-right corner to enable dark mode.


🔧 How it works

The script injects custom CSS into the page when toggled on. It modifies:

  • body, .mw-parser-output, .infobox, table, and link elements
  • Lightens links, darkens background, boosts readability
  • Does not invert or recolor images (preserved as-is)

🛠️ Future Plans

  • Remember dark mode setting between page loads
  • Add keyboard shortcut (e.g., Shift+D)
  • Extend support to mobile Wikipedia

Made with ❤️ by Devaansh
Source: https://github.com/DevaanshPathak/darkenator-wikipedia

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址