Title: TC Custom JavaScript
Author: Tiny Code
Published: <strong>2015 年 4 月 24 日</strong>
Last modified: 2023 年 2 月 24 日

---

搜索插件

![](https://ps.w.org/tc-custom-javascript/assets/banner-772x250.jpg?rev=1720289)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/tc-custom-javascript/assets/icon-256x256.png?rev=1144538)

# TC Custom JavaScript

 作者：[Tiny Code](https://profiles.wordpress.org/tinycode/)

[下载](https://downloads.wordpress.org/plugin/tc-custom-javascript.1.2.3.zip)

 * [详情](https://cn.wordpress.org/plugins/tc-custom-javascript/#description)
 * [评价](https://cn.wordpress.org/plugins/tc-custom-javascript/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tc-custom-javascript/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tc-custom-javascript/#developers)

 [支持](https://wordpress.org/support/plugin/tc-custom-javascript/)

## 描述

Add custom JavaScript to your site from a professional editor in the WordPress admin.

**TC Custom JavaScript**‘s still in early stage. If you have any troubles when using
it, or any ideas to improve its features to fit with your work, please do not hesitate
to contact us.

## 屏幕截图

 * [[
 * The back end editor

## 安装

 1. Upload WR PageBuilder to the /wp-content/plugins/ directory
 2. 通过WordPress的的“Plugins”菜单激活插件

## 评价

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

### 󠀁[Works perfectly!](https://wordpress.org/support/topic/works-perfectly-2686/)󠁿

 [tamaravitorino](https://profiles.wordpress.org/tamaravitorino/) 2023 年 9 月 23
日

Works perfectly!

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

### 󠀁[Great Plugin and great support](https://wordpress.org/support/topic/great-plugin-and-great-support-226/)󠁿

 [yohann1b](https://profiles.wordpress.org/yohann1b/) 2018 年 6 月 18 日 1 回复

thanks for your support….

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

### 󠀁[work](https://wordpress.org/support/topic/work-69/)󠁿

 [anniest](https://profiles.wordpress.org/anniest/) 2017 年 7 月 18 日

thanks

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

### 󠀁[The only js plugin that worked for me](https://wordpress.org/support/topic/the-only-js-plugin-that-worked-for-me/)󠁿

 [wilder1](https://profiles.wordpress.org/wilder1/) 2016 年 9 月 3 日 1 回复

I’m a web noob. I had some simple javascript I wanted to add to a Wordpress page.
Tried 3 or 4 other javascript plugins, including very popular ones, and nothing 
happened. I pasted the exact same code into this plugin and it worked like a charm.
Super simple easy interface; just a box for code. Wish you could limit to particular
pages but it still works for me.

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

### 󠀁[Thanks](https://wordpress.org/support/topic/thanks-909/)󠁿

 [i2eno](https://profiles.wordpress.org/i2eno/) 2016 年 9 月 3 日

Simple and easy. Thanks.

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

### 󠀁[Fantastic](https://wordpress.org/support/topic/fantastic-1033/)󠁿

 [OllyDowning](https://profiles.wordpress.org/ollydowning/) 2016 年 9 月 3 日

Simple, fast and it works. What more can you need.

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/)

## 贡献者及开发者

「TC Custom JavaScript」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tiny Code ](https://profiles.wordpress.org/tinycode/)

[帮助将「TC Custom JavaScript」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tc-custom-javascript)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tc-custom-javascript/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/tc-custom-javascript/)，或通过[RSS](https://plugins.trac.wordpress.org/log/tc-custom-javascript/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tc-custom-javascript/)。

## 更新日志

#### 1.2.3

Fix bug with PHP 8

#### 1.2.2

Update security checking

#### 1.2.1

Fix bug adding slashes

#### 1.2.0

Fix security issues.

#### 1.1.1

Fix bug clear code.

#### 1.1.0

Editor automatically resize to fit its content.

#### 1.0.4

Fixed bug related to single-line comments.

#### 1.0.3

Fixed bug related to Magic Quotes of PHP 5.3 or lower.

#### 1.0.0

The first version.

## 额外信息

 *  版本 **1.2.3**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 3.0.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/tc-custom-javascript/)
 * 标签
 * [custom javascript](https://cn.wordpress.org/plugins/tags/custom-javascript/)
   [custom js](https://cn.wordpress.org/plugins/tags/custom-js/)[javascript editor](https://cn.wordpress.org/plugins/tags/javascript-editor/)
 *  [高级视图](https://cn.wordpress.org/plugins/tc-custom-javascript/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tc-custom-javascript/reviews/)

## 贡献者

 *   [ Tiny Code ](https://profiles.wordpress.org/tinycode/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tc-custom-javascript/)