توضیحات
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)
- 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. 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 redirects the visitor’s browser to a URL configured by the site administrator (default: https://www.google.com). 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.
نصب
- Upload the plugin ZIP in WordPress: Plugins > Add New > Upload Plugin.
- Activate the plugin.
- Go to Safety Exit Button in the WordPress admin menu to configure the redirect URL, position, and style.
سوالات متداول
-
Does this remove the site from browser history?
-
No. Browsers control History. The plugin prevents return via Back and provides a fast, discreet exit.
-
Will this break Elementor or theme storage?
-
By default it clears sessionStorage only. Optional localStorage cleanup removes only keys matching prefixes you set.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Safety Exit Button – Quick Exit” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “Safety Exit Button – Quick Exit” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
گزارش تغییرات
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.