Title: Eco Mode
Author: ronchiluca
Published: <strong>2026 年 5 月 27 日</strong>
Last modified: 2026 年 6 月 1 日

---

搜索插件

![](https://ps.w.org/eco-mode/assets/banner-772x250.png?rev=3550338)

![](https://ps.w.org/eco-mode/assets/icon-256x256.png?rev=3550338)

# Eco Mode

 作者：[ronchiluca](https://profiles.wordpress.org/ronchiluca/)

[下载](https://downloads.wordpress.org/plugin/eco-mode.1.3.3.zip)

 * [详情](https://cn.wordpress.org/plugins/eco-mode/#description)
 * [评价](https://cn.wordpress.org/plugins/eco-mode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/eco-mode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/eco-mode/#developers)

 [支持](https://wordpress.org/support/plugin/eco-mode/)

## 描述

Eco Mode displays a soft overlay on pages that have been inactive for a configurable
amount of time. The overlay can lower power draw on OLED/AMOLED screens, reduce 
visual fatigue, and act as a gentle reminder to visitors who have walked away from
their screen.

**Key features**

 * Configurable idle time from 15 seconds up to 1 hour.
 * Adjustable overlay opacity (70–100%).
 * Optional logo display.
 * Smart return-from-hidden behavior: require an explicit click or scroll before
   the overlay dismisses, useful on multi-tab sessions.
 * Works with the most common browsers (Chrome, Edge, Firefox, Safari) and handles
   the back-forward cache.
 * Throttled event handling keeps the overlay lightweight.
 * Accessible: ARIA dialog role, focus trap on the resume button, keyboard support(
   Enter, Space, Escape).
 * Five built-in languages (English, Italian, French, German, Spanish) with per-
   language custom messages.
 * Exclude specific URL paths or CSS selectors from triggering the overlay.
 * WooCommerce aware: cart, checkout, and account pages are skipped by default.
 * Mobile-aware: disabled by default on phones.
 * Respects `prefers-reduced-motion`.
 * Optional console debug mode to verify timer, activity events, and overlay lifecycle.
 * No visitor tracking; only aggregate overlay impressions are counted locally in
   WordPress.

**For developers**

Two filters are provided for advanced customization:

 * `eco_mode_should_run` — return `false` to disable the overlay for the current
   request.
 * `eco_mode_frontend_config` — modify the configuration object passed to the frontend
   script.

**A note on energy savings**

Dark pixels consume less power only on OLED/AMOLED screens. On traditional LCD monitors
the backlight is constant and the energy saving is negligible. Eco Mode also reduces
visual load and lets the visitor know the session has been idle.

## 屏幕截图

 * [[
 * The overlay as seen by a visitor after the idle period.
 * [[
 * The settings page with idle time, opacity, and language options.
 * [[
 * Exclusion rules for URL paths and CSS selectors.

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/eco-mode/`, or install through
    Plugins  Add New.
 2. Activate the plugin through the Plugins menu in WordPress.
 3. Go to **Settings  Eco Mode** to configure idle time, message, and exclusions.

## 常见问题

### Does it really save energy?

On OLED and AMOLED screens, yes: a dark overlay reduces per-pixel power consumption.
On LCD screens the backlight is always on, so the energy saving is minimal. In both
cases the overlay reduces visual load and can remind distracted visitors.

### Will it interfere with checkout or login pages?

No. WooCommerce cart, checkout, and account pages are excluded by default, and you
can add any URL path or CSS selector to the exclusion list.

### Will it interrupt video playback?

No. Videos and audio in playback prevent the overlay from appearing.

### Does it work on mobile?

It is disabled on mobile devices by default to avoid interfering with touch browsing,
but you can enable it from the settings page.

### Does it track visitors or call external services?

No. The plugin is fully self-contained and makes no network calls.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Eco Mode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ronchiluca ](https://profiles.wordpress.org/ronchiluca/)

[帮助将「Eco Mode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/eco-mode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/eco-mode/)，查看[SVN仓库](https://plugins.svn.wordpress.org/eco-mode/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/eco-mode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/eco-mode/)。

## 更新日志

#### 1.3.3

 * Added bundled Italian translation files and explicit text domain loading.

#### 1.3.2

 * Fixed settings saves so the plugin no longer turns itself off when the global
   ON/OFF field is absent from the submitted form.
 * Updated the support email address to ecomode@the-roi.com.

#### 1.3.1

 * Fixed an issue where focusing the overlay button could be interpreted as visitor
   activity and immediately close the overlay.
 * Added optional browser-console debug logs for timer, activity, visibility, and
   overlay lifecycle.
 * Removed settings UI for features that were not implemented: AI optimization, 
   lazy-load images, CSS/JS minification, script defer, and saving modes.
 * Reworded dashboard/report values so they reflect actual overlay behavior and 
   locally counted impressions.

#### 1.0.0

 * Initial release.
 * Configurable idle time, overlay opacity and logo visibility.
 * Optional explicit-resume behavior with hard-lock after returning from a hidden
   tab.
 * bfcache support (Firefox/Safari).
 * Real-gesture detection to avoid spurious dismissal on return-focus.
 * WooCommerce, path, and selector exclusions.
 * Five built-in languages with per-language custom messages.
 * Accessible overlay with ARIA dialog role and focus trap.

## 额外信息

 *  版本 **1.3.3**
 *  最后更新：**9 小时前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/eco-mode/)
 * 标签
 * [accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)[eco](https://cn.wordpress.org/plugins/tags/eco/)
   [energy](https://cn.wordpress.org/plugins/tags/energy/)[idle](https://cn.wordpress.org/plugins/tags/idle/)
   [overlay](https://cn.wordpress.org/plugins/tags/overlay/)
 *  [高级视图](https://cn.wordpress.org/plugins/eco-mode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/eco-mode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/eco-mode/reviews/)

## 贡献者

 *   [ ronchiluca ](https://profiles.wordpress.org/ronchiluca/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/eco-mode/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.the-roi.com)