Title: Minify Javascript
Author: peterpfeiffer
Published: <strong>2017 年 3 月 7 日</strong>
Last modified: 2018 年 1 月 2 日

---

搜索插件

![](https://ps.w.org/optimize-javascript/assets/banner-772x250.png?rev=1613869)

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

![](https://ps.w.org/optimize-javascript/assets/icon-128x128.png?rev=1613871)

# Minify Javascript

 作者：[peterpfeiffer](https://profiles.wordpress.org/peterpfeiffer/)

[下载](https://downloads.wordpress.org/plugin/optimize-javascript.3.0.zip)

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

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

## 描述

**This plugin requires PHP 7+, so if you are using an old PHP version it will not
work**

Minify and Optimize your Javascript by clicking one button. All you have to do is
go to Settings and click Javascript Minify. Activating the plugin there will minify
and optimize your Javascript. No settings required, just click one button.

So anything you can do to speed up the load time of your site should be worth investigating,
right? One such thing is “minifying” the Javascript files that are used in part 
to build your site. As is typically the case, there is a plugin available that can
do the job for you – Suprise: It’s this one! Code from this plugin is forked from
aph merge scripts a really great plugin. You can find it by searching for it here
on wordpress.org in the plugin search. Also full copyright to JShrink and YUIcompressor,
which is used in this plugin.

**If you want to have a chat or need support please contact me here:**

peterpfeiffers88@gmail.com

 1. Upload the zip file and unzip it in the /wp-content/plugins/ directory.
 2. Activate the plugin through the Plugins menu in WordPress
 3. Go to Settings and then click Javascript Minify and enable the options you want.

## 安装

 1. Upload the zip file and unzip it in the /wp-content/plugins/ directory.
 2. Activate the plugin through the Plugins menu in WordPress
 3. Go to Settings and then click Javascript Minify and enable the options you want.

## 常见问题

  Installation Instructions

 1. Upload the zip file and unzip it in the /wp-content/plugins/ directory.
 2. Activate the plugin through the Plugins menu in WordPress
 3. Go to Settings and then click Javascript Minify and enable the options you want.

## 评价

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

### 󠀁[Terrible](https://wordpress.org/support/topic/terrible-103/)󠁿

 [digitalexp](https://profiles.wordpress.org/digitalexp/) 2018 年 2 月 13 日

Broke many things. Google Fonts to name one of many. Paid for the upgraded version.
Support non-existent after many emails.

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

## 贡献者及开发者

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

贡献者

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

[帮助将「Minify Javascript」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/optimize-javascript)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **3.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 4.1 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/optimize-javascript/)
 * 标签
 * [compress](https://cn.wordpress.org/plugins/tags/compress/)[javascript](https://cn.wordpress.org/plugins/tags/javascript/)
   [JS](https://cn.wordpress.org/plugins/tags/js/)[minify](https://cn.wordpress.org/plugins/tags/minify/)
   [minify js](https://cn.wordpress.org/plugins/tags/minify-js/)
 *  [高级视图](https://cn.wordpress.org/plugins/optimize-javascript/advanced/)

## 评级

 1 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

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