发布:Chrome浏览器OLED模式扩展程序
Release: OLED Mode extension for Chrome

原始链接: https://github.com/FreelanceProgrammingServices/Chrome-OLED-Mode

Chrome OLED 模式是一个浏览器扩展程序,为网站提供真正的黑色、高对比度主题,非常适合夜间浏览。它是已失效的超级暗黑模式项目的改进版,功能比 Dark Reader 等替代方案更强大。它利用 React 技术,在页面加载后动态地将主题布局注入 DOM,并应用经 OLED 优化的样式表以提高性能。它采用了一种自定义的打包和依赖管理方法,兼容扩展程序沙箱的限制。主要功能包括多种操作模式、40 个特定网站主题、白名单管理和自动调度。安装方法是从发行页面下载 CRX 文件,在 Chrome 的扩展程序设置中启用开发者模式,然后加载解压后的扩展程序文件夹。该项目采用公有领域许可证发布。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 发布:Chrome 的 OLED 模式扩展程序 (github.com/freelanceprogrammingservices) 6 分,来自 WindowsDev,2 小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 rock_artist 6 分钟前 [–] 非常棒的想法,迫不及待想在我的 OLED Windows 笔记本电脑上测试它。不过有趣的是,截图是在 macOS 上的,在 macOS 上 OLED 并不常见。 回复 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

原文

*Chrome OLED Mode adds a pitch black theme to websites, making them high contrast and easy to read at night.

Chrome-OLED-Mode Logo Chrome-OLED-Mode Logo

This is a resurrection of the Super Dark Mode project which got taken down from the Chrome Web Store for unknown reasons and then abandoned by it's original developer-decompiled, refactored/documented and improved upon. In my opinion, it functions way better than the popular extension 'Dark Reader'.

This extension is a static browser-side script which leverages React's dynamic rendering and live component updating mechanisms. At runtime, it waits for the DOM to finish loading, then injects content into a dedicated element (#__oled). Using ReactDOM.createRoot, it mounts a themed layout component that wraps the core UI, enabling declarative reactivity and efficient DOM updates. The layout system, sourced from @plasmo-static-common/react, applies a custom OLED-optimised stylesheet. Parcel handles bundling and dependency resolution using a simulated require system embedded in the file which mimics module caching and isolation in a browser-compatible way. Features high precision and low overhead, while maintaining compatibility with extension sandbox constraints and update mechanisms. Supports; 4 different operation modes, 40 specialized site-specific themes, whitelist management, and automatic scheduling.

Download Latest Release

  1. Download the latest Chrome-OLED-Mode.crx from the releases page
  2. Go to chrome://extensions and enable Developer mode
  3. Load Unpacked and select folder containing extracted files

Tested on: Google Chrome Version 135.0.3179.85

This project is released under Public Domain.


联系我们 contact @ memedata.com