WSJ Dark Mode

Elegant dark mode for Wall Street Journal when system dark mode is enabled

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
hxueh
日安装量
0
总安装量
1
评分
0 0 0
版本
0.0.1
创建于
2025-12-31
更新于
2025-12-31
大小
14.3 KB
许可证
MIT
适用于

WSJ Dark Mode - Elegant & System-Aware

A sophisticated, high-quality dark theme for The Wall Street Journal (WSJ) designed for deep focus and eye comfort. Unlike static themes, this script intelligently follows your system's color scheme for a seamless browsing experience.

✨ Key Features

  • 🌓 System Sync: Automatically activates when your OS is in dark mode and switches back when it's in light mode.
  • 🎨 Premium Palette: Uses a warm, midnight-gray background and soft-white text to reduce eye strain and "blue light" fatigue during long reads.
  • 📈 Market-Aware: Intelligently preserves green and red indicators for stock tickers and market data so you don't lose critical financial context.
  • ⚡ High Performance: Runs at document-start to prevent that annoying "white flash" while pages are loading.
  • 🖼️ Smart Media: Slightly dims images, videos, and advertisements to blend into the dark environment, returning to full brightness on hover.

🛠 Technical Highlights

  • Dynamic Compatibility: Uses fuzzy CSS selectors (e.g., [class*="Headline"]) to ensure the theme stays working even when WSJ updates its site code.
  • Optimized Transitions: Smooth background fades for a premium, modern feel.
  • Comprehensive Coverage: Styles everything from the homepage and articles to search results, comments, and newsletter signups.

Example: If your macOS or Windows theme is set to "Dark," WSJ will automatically transform into the midnight theme. Switch your OS to "Light," and the script will step aside to show the original site.