Title: Save Me
Author: davidfcarr
Published: <strong>18. marts, 2011</strong>
Last modified: 21. marts, 2011

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Save Me

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

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

 * [Detaljer](https://da.wordpress.org/plugins/save-me/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/save-me/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/save-me/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/save-me/#developers)

 [Support](https://wordpress.org/support/plugin/save-me/)

## Beskrivelse

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/>.
    ```

## Skærmbilleder

[⌊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

## Installation

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

## FAQ

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

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

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Save Me” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

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

[Oversæt “Save Me” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/save-me)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/save-me/), tjek [SVN repository](https://plugins.svn.wordpress.org/save-me/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/save-me/)
via [RSS](https://plugins.trac.wordpress.org/log/save-me/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

First public release, March 2011

## Meta

 *  Version **1.1**
 *  Senest opdateret **15 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0 eller højere **
 *  Testet op til **3.1.4**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/save-me/)
 * Tags
 * [code](https://da.wordpress.org/plugins/tags/code/)[javascript](https://da.wordpress.org/plugins/tags/javascript/)
   [rich text editor](https://da.wordpress.org/plugins/tags/rich-text-editor/)[shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
   [shortcodes](https://da.wordpress.org/plugins/tags/shortcodes/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/save-me/advanced/)

## Bedømmelser

 1 ud af 5 stjerner.

 *  [  0 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/save-me/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/save-me/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/save-me/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/save-me/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/save-me/reviews/?filter=1)

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/save-me/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/save-me/)