Title: Safety Exit
Author: Tomas Cordero
Published: <strong>2018 年 9 月 7 日</strong>
Last modified: 2025 年 9 月 30 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/safety-exit/assets/icon.svg?rev=2837777)

# Safety Exit

 由 [Tomas Cordero](https://profiles.wordpress.org/tcordero/) 開發

[下載](https://downloads.wordpress.org/plugin/safety-exit.1.8.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/safety-exit/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/safety-exit/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/safety-exit/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/safety-exit/#developers)

 [技術支援](https://wordpress.org/support/plugin/safety-exit/)

## 外掛說明

This plugin will insert a safety exit button onto your site. A safety exit button
is ideal for websites dealing with sensitive subjects such as domestic violence,
rape, child abuse and others. When the user clicks the button they will instantly
redirected to a URL of your choosing and a new tab / window will be opened to a 
URL of your choosing.

The button is customizable with options to change the color of the button and font,
pick an icon from fontawesome’s free icon library, update font size, change what
the button says and more features coming in the future.

## 螢幕擷圖

[⌊Button floats in bottom corner of screen⌉⌊Button floats in bottom corner of screen⌉[

Button floats in bottom corner of screen

[⌊Back end configuration of the button⌉⌊Back end configuration of the button⌉[

Back end configuration of the button

## 安裝方式

 1. Search for ‘Safety Exit’ in the plugin directory
 2. Click install then Activate. OR to install manually
 3. Download the plugin
 4. Upload `safety-exit.zip` to the `wp-content/plugins/` directory
 5. Activate the plugin through the ‘Plugins’ menu in WordPress

Once installed and activated you will see a new menu item for “Safety Exit”. That
is where you can customize the button.

## 常見問題集

### Is there an option to delete the browser history?

No. Due to security measures taken by browsers, websites can not delete browser 
history. If this ever changes or if browsers support a new function that will let
websites control history you can expect it to be added to the plugin ASAP.

### Can I request features?

Yes! I love feature ideas and requests to make this thing better. You can submit
a feature request under the support tab.

### Can I customize the button more than the options you gave me?

You can! If you know some CSS you can insert custom CSS and target \”#sftExt-frontend-
button\”. In the future there are plans to add support for custom HTML and CSS as
well as more options to tweak the button more.

### Why cant I put the button in the menu or at the top of the page?

Currently there are only two options for button placement. \”Bottom Left\” and \”
Bottom Right\”. There are plans to add support for other button placement options
such as in the menu, as a widget, a banner at the top of the page, and more.

## 使用者評論

![](https://secure.gravatar.com/avatar/aa282b94dd8e3b364daeafce1d39b3fc1cc961d5ba0671132250f1a42bdc19f3?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-9272/)󠁿

 [Michael](https://profiles.wordpress.org/blackvx/) 2022 年 2 月 7 日

Thanks for doing this! We are using this on a website with sensitive subjects exactly
as you describe. Works great with ELementor.

![](https://secure.gravatar.com/avatar/5dc144ee4fa38f97b5d3c0808e4802619dabdcfbad6f434e1e673ccaadb7b0bb?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-8946/)󠁿

 [aveak](https://profiles.wordpress.org/aveak/) 2021 年 12 月 8 日 1 則留言

Not sure why there aren’t more quality reviews…yea, maybe a small demographic, but
this plugin was EXACTLY what we needed for a domestic abuse intervention website
we created. Thanks again for a great product!

![](https://secure.gravatar.com/avatar/111f9ce14b4fed2d7c5305182ff67756b9075aff265500babdfe77f85bc666e5?
s=60&d=retro&r=g)

### 󠀁[The best I’ve seen](https://wordpress.org/support/topic/the-best-ive-seen-5/)󠁿

 [ArnauRapid](https://profiles.wordpress.org/arnaurapid/) 2019 年 3 月 2 日 1 則
留言

Perfect plugin! Complies with what is promised in a good way and is very easy to
customize. I have not found another plugin that offers the same features. Very practical
to redirect the user to other pages with a custom URL through a button. —- El plugin
perfecto! Cumple con lo prometido de buena manera y es muy fácil de personalizar.
No he encontrado otro plugin que ofrezca las mismas características. Muy práctico
para redirigir al usuario a otras páginas con un URL personalizado mediante un botón.
Como feedback constructivo: igual cambiar el titulo a “Panic Button” que es como
habitualmente se conoce el concepto para recibir más búsquedas. Y que incorpore 
la función de centrar el botón a parte de derecha y izquierda, aunque entiendo que
eso puede entrar en temas de responsividad y ser más difícil.

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/safety-exit/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Safety Exit〉的開發相關工作。

參與者

 *   [ Tomas Cordero ](https://profiles.wordpress.org/tcordero/)

[將〈Safety Exit〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/safety-exit)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/safety-exit/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/safety-exit/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/safety-exit/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/safety-exit/)。

## 變更記錄

1.8.1:
 – Security: Fixed Cross-Site Scripting (XSS) vulnerability by implementing
proper input sanitization and output escaping – Security: Added nonce verification
for admin form submissions – Security: Enhanced validation for all user inputs including
URLs, CSS values, and JavaScript variables – Security: Improved FontAwesome icon
class sanitization to prevent malicious code injection 1.8.0: – Improved backend
code structure for stability – Added a warning for out dated PHP versions in preparation
for 2.0 release 1.7.1: – Fix: Security fix 1.7.0: – Refactor: Completely reworked
how the button is rendered. It will try to render via HTML first. If it cant it 
will render with JS. This should finally fix all theme related problems. – Improved:
Got some unit testing in place. When the plugin’s admin UI gets refactored this 
will help ensuring nothing breaks on the front end. – Removed: I removed the contrast
checker. It was large, annoying and didn’t work very well. I will be replacing it
with something better in V2. – Fix: Button will no longer appear on the print view.–
Tweak: Bumped up the minimum PHP version required from 5.2 to 5.6. Really you shouldn’t
be on anything less than 7.4. 1.6.5: – Refactor: Build pipeline – Improved: Accessibility
1.6.4: – Fix: Fixed Divi bug 1.6.3: – Fix: Fixed bug with login 1.6.2: – Fix: Instead
of depending on the theme to run fire the `wp_body_open` hook, we now run it in 
the plugin’s init method. 1.6.1: – Tweak: Switched from injecting the button in 
the footer to injecting it to the wp_body_open. This fixes a bug with certain page
builders that use a post / page to create the footer. 1.6.0: – Improved: Stopped
font awesome from loading on frontend if icon is turned off 1.5.0: – New: Added 
the ability to hide the button on mobile. 1.4.5: – Maintenance: Ensured plugin worked
with latest version of WordPress 1.4.4: – Fixed: Merged PR#1 to add support for 
bedrock hosted WordPress sites. 1.4.3: – Fixed: Added quick test to ensure required
core files exist. If the test fails it wont initialize the plugin. 1.4.2: – Fixed:
Updated CSS for round and square buttons to center icon. – Fixed: Removed random
options file that was hanging up server cron jobs. – Improved: Added some needed
security to protect against attacks. 1.4.1: – Fixed: Hot fix for the page selection
tool 1.4.0: – New: Added ability to show safety button on all pages or specific 
page. 1.2.2: – Tweak: Updated Read Me to include new tags and include a road map
1.2.1: – Fixed: removed debug bug 1.2.0: – New: Added option to change border radius
on the rectangle. – New: Added option for square button – Tweak: Moved the settings
link to the main menu and out from under the settings tab. This should make it easier
to find. – Fixed: The round button had a bug where it wouldn’t display the icon 
correctly. That is fixed and should display correctly 1.1.3: – Tweak: Made it so
you aren’t forced to have all uppercase text. Now to control the font capitalization
you just type the word with the capitalization you want to be displayed 1.0.3: –
Fixed: 404s on frontend 1.0.2: – Removed: Menu option for now (not ready for prod)
1.0.0: – Fist release

## 中繼資料

 *  版本 **1.8.1**
 *  最後更新 **11 個月前**
 *  啟用安裝數 **1,000+**
 *  WordPress 版本需求 ** 5.2.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.8**
 *  PHP 版本需求 ** 5.6.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/safety-exit/)
 * 標籤:
 * [exit](https://tw.wordpress.org/plugins/tags/exit/)[panic button](https://tw.wordpress.org/plugins/tags/panic-button/)
   [quick exit](https://tw.wordpress.org/plugins/tags/quick-exit/)
 *  [進階檢視](https://tw.wordpress.org/plugins/safety-exit/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  3 個 5 星使用者評論     ](https://wordpress.org/support/plugin/safety-exit/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/safety-exit/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/safety-exit/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/safety-exit/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/safety-exit/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/safety-exit/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/safety-exit/reviews/)

## 參與者

 *   [ Tomas Cordero ](https://profiles.wordpress.org/tcordero/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/safety-exit/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://tomascordero.com)