Title: Safety Exit Button &#8211; Quick Exit
Author: Clicksmith Digital Marketing
Published: <strong>February 10, 2026</strong>
Last modified: May 14, 2026

---

Search plugins

![](https://ps.w.org/safety-exit-button-quick-exit/assets/icon-256x256.png?rev=3458419)

# Safety Exit Button – Quick Exit

 By [Clicksmith Digital Marketing](https://profiles.wordpress.org/clicksmith/)

[Download](https://downloads.wordpress.org/plugin/safety-exit-button-quick-exit.1.3.4.zip)

 * [Details](https://wordpress.org/plugins/safety-exit-button-quick-exit/#description)
 * [Reviews](https://wordpress.org/plugins/safety-exit-button-quick-exit/#reviews)
 *  [Installation](https://wordpress.org/plugins/safety-exit-button-quick-exit/#installation)
 * [Development](https://wordpress.org/plugins/safety-exit-button-quick-exit/#developers)

 [Support](https://wordpress.org/support/plugin/safety-exit-button-quick-exit/)

## Description

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/

## Installation

 1. Upload the plugin ZIP in WordPress: Plugins > Add New > Upload Plugin.
 2. Activate the plugin.
 3. Go to Safety Exit Button in the WordPress admin menu to configure the redirect 
    URL, position, and style.

## FAQ

### Does this remove the site from browser history?

No. Browsers control History. The plugin prevents return via Back and provides a
fast, discreet exit.

### Does this close the current browser tab?

It tries to. Browsers usually only allow scripts to close tabs that were opened 
by script, so the plugin also redirects the current tab if closing is blocked.

### Will this break Elementor or theme storage?

By default it clears sessionStorage only. Optional localStorage cleanup removes 
only keys matching prefixes you set.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Safety Exit Button – Quick Exit” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ Clicksmith Digital Marketing ](https://profiles.wordpress.org/clicksmith/)

[Translate “Safety Exit Button – Quick Exit” into your language.](https://translate.wordpress.org/projects/wp-plugins/safety-exit-button-quick-exit)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/safety-exit-button-quick-exit/),
check out the [SVN repository](https://plugins.svn.wordpress.org/safety-exit-button-quick-exit/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/safety-exit-button-quick-exit/)
by [RSS](https://plugins.trac.wordpress.org/log/safety-exit-button-quick-exit/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.4

 * Released the donate portal update as a new version so installed sites receive
   it through WordPress updates.

#### 1.3.3

 * Added plugin list links to Settings, Plugin Page, and Clicksmith resources.
 * Added a Resources block to the settings tab for faster access to plugin docs 
   and other free Clicksmith plugins.
 * Added donate links for ongoing plugin maintenance.
 * Updated readme with a dedicated “More from Clicksmith” section.

#### 1.3.2

 * Opened the configured exit destination in a new tab before attempting to close
   the current tab.
 * Fixed uninstall cleanup to delete the correct settings option.
 * Implemented configured localStorage prefix cleanup during quick exit.
 * Cleaned up frontend inline script generation, setting sanitization, and stale
   admin links.

#### 1.3.1

 * Fixed click handler binding for the frontend button.

#### 1.3.0

 * Updated Plugin URI to a public page.
 * Enqueued JS/CSS using wp_enqueue_* and wp_add_inline_*.
 * Added External services documentation.
 * Sanitized inline CSS before output.

#### 1.2.9

 * Compliance fixes (author URI, readme short description, languages folder).
 * Admin tab handling updated to avoid direct superglobal access.

#### 1.2.5

 * Moved settings to a top-level admin menu and added an About tab.

#### 1.2.2

 * Renamed plugin to Safety Exit Button – Quick Exit.
 * Updated text domain/slug alignment and kept settings for redirect URL, placement,
   and style.

## Meta

 *  Version **1.3.4**
 *  Last updated **3 weeks ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [accessibility](https://wordpress.org/plugins/tags/accessibility/)[exit](https://wordpress.org/plugins/tags/exit/)
   [nonprofit](https://wordpress.org/plugins/tags/nonprofit/)[privacy](https://wordpress.org/plugins/tags/privacy/)
   [safety](https://wordpress.org/plugins/tags/safety/)
 *  [Advanced View](https://wordpress.org/plugins/safety-exit-button-quick-exit/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/safety-exit-button-quick-exit/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/safety-exit-button-quick-exit/reviews/)

## Contributors

 *   [ Clicksmith Digital Marketing ](https://profiles.wordpress.org/clicksmith/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/safety-exit-button-quick-exit/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://portal.clicksmith.net/donate/safety-exit-wordpress)