跳到内容

Safety Exit Button – Quick Exit

v1.3.4

Clicksmith Digital Marketing · 2026年2月10日 上架

Adds a safety exit button that lets visitors leave a website quickly.

正在使用
30+
评分
暂无
累计下载
782
最近更新
2026年5月15日
需要 WordPress 5.8+已测试到 6.9.12PHP 7.4+

When we started building websites for nonprofits, we kept hearing the same message from staff and volunteers:

Some visitors need a way to leave a page fast.

For organizations supporting people experiencing homelessness, survivors of domestic abuse, and anyone navigating sensitive situations, a small website feature can make a meaningful difference, especially when someone may be browsing resources in a shared space or under pressure.

So we built a clean, lightweight Safety Exit Button and released it for free, so any organization can add a quick exit option without custom development.

Features

  • Instantly redirects to a neutral destination (default: Google)
  • Opens the configured exit destination in a new tab before attempting to close the current tab
  • Uses location.replace() to prevent returning via the Back button
  • Change the redirect URL in settings (Google, weather, news, anything)
  • Choose button placement: bottom-right, bottom-left, top-right, top-left
  • Choose button style: square, rounded, pill, or custom radius
  • Match your site colors
  • Optional ESC key triggers exit

Important note

No website can guarantee removing a visit from a browser’s History list or force every browser to close a tab. This plugin focuses on the industry-standard goal: immediate exit and preventing accidental return via the Back button.

External services

Safety Exit Button does not send data to Clicksmith or any external API.

When a visitor activates the Safety Exit button (or the optional ESC shortcut), the plugin opens a new tab to the URL configured by the site administrator (default: https://www.google.com), attempts to close the current tab, and falls back to redirecting the current tab if the browser blocks tab closing. This navigation happens in the visitor’s browser.

If you keep the default redirect, the visitor will load Google in their browser:
* Terms: https://policies.google.com/terms
* Privacy: https://policies.google.com/privacy

If you change the redirect to another website (for example, weather.com), that third-party website’s own terms and privacy policy will apply.

More from Clicksmith

  • Plugin page: https://clicksmith.net/custom-wordpress-plugins/safety-exit-button-quick-exit/
  • More free WordPress plugins: https://clicksmith.net/custom-wordpress-plugins/
  • Donate to support development: https://portal.clicksmith.net/donate/safety-exit-wordpress
  • Clicksmith website: https://clicksmith.net/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums