Title: Save Me
Author: davidfcarr
Published: <strong>2011 年 3 月 18 日</strong>
Last modified: 2011 年 3 月 21 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/save-me.svg)

# Save Me

 由 [davidfcarr](https://profiles.wordpress.org/davidfcarr/) 開發

[下載](https://downloads.wordpress.org/plugin/save-me.1.1.zip)

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

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

## 外掛說明

The Save Me plugin saves JavaScript and other inline code from distortion by the
WordPress rich text editor. Add code in the editor’s VISUAL mode, bracketing it 
with the shortcode `[saveme][/saveme]`.

While it is possible without a plugin to switch to HTML editing mode and paste JavaScript
into a post, often the code will be scrambled if you toggle back and forth between
the HTML and Visual modes. For example, the TinyMCE editor sometimes eliminates 
what it doesn’t understand — like empty divs into which your JavaScript or AJAX 
widget needs to inject content. And since JavaScript code is not displayed with 
any representation in the visual editor, it’s easy to accidentally delete.

In rich tech mode, the editor will treat your code as if it were a code sample you
were writing about, rather than a script to be executed. You may see distortions,
like quotation marks being turned into curly quotes, but at least you can keep track
of where you inserted the code. The saveme shortcode function reverses HTML entity
transformations and turns your JavaScript widget back into executable code.

The saveme shortcode has been tested with Facebook social widgets and Google Adsense
JavaScript blocks. If you encounter JavaScript that does not work after being passed
through this function, contact me through [**Carr Communications Inc.**](http://www.carrcommunications.com/)
and I will try to determine why not.

This is a spinoff of a similar function in [**Facebook Tab Manager for WordPress**](http://www.carrcommunications.com/wordpress-plugins/facebook-tab-manager/)

### Credits

    ```
    Facebook Tab Manager
    Copyright (C) 2011 David F. Carr

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    See the GNU General Public License at <http://www.gnu.org/licenses/>.
    ```

## 螢幕擷圖

[⌊Using the saveme shortcode in the editor⌉⌊Using the saveme shortcode in the editor⌉[

Using the `saveme` shortcode in the editor

[⌊Reconstituted as working JavaScript⌉⌊Reconstituted as working JavaScript⌉[

Reconstituted as working JavaScript

## 安裝方式

 1. Upload the entire `save-me` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常見問題集

  Where can I get more information about using Facebook Tab Manager?

See the [plugin homepage](http://www.carrcommunications.com/wordpress-plugins/save-me/).

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

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

[將〈Save Me〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/save-me)

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

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

## 變更記錄

#### 1.0

First public release, March 2011

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.1.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/save-me/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[javascript](https://tw.wordpress.org/plugins/tags/javascript/)
   [rich text editor](https://tw.wordpress.org/plugins/tags/rich-text-editor/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [shortcodes](https://tw.wordpress.org/plugins/tags/shortcodes/)
 *  [進階檢視](https://tw.wordpress.org/plugins/save-me/advanced/)

## 評分

 1 星，滿分為 5 星

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

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

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

## 參與者

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

## 技術支援

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

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