Title: Asynchronous Javascript
Author: Paris Holley
Published: <strong>2013 年 1 月 18 日</strong>
Last modified: 2013 年 11 月 2 日

---

搜尋外掛

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

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

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

# Asynchronous Javascript

 由 [Paris Holley](https://profiles.wordpress.org/parisholley/) 開發

[下載](https://downloads.wordpress.org/plugin/asynchronous-javascript.zip)

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

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

## 外掛說明

This plugin is meant to be a drop-in to your wordpress installation with no additional
configuration. The goals/features of this plugin are:

 * Load javascript files in an asynchronous manner to improve time to DomReady/OnLoad
 * Use existing wordpress APIs for backwards compatability and prevent coupling 
   to this plugin
 * Leverage dependency model wordpress provides for assets to improve loading performance

Please submit bugs or contributions to the github location and not here on wordpress’
system:

https://github.com/parisholley/wordpress-asynchronous-javascript/

SEO: async js, asynchronous js, async javascript

### Incompatibility

This plugin will not work out the box with the following plugins (unless they are
modified to support asynchronous loading).

 * Jetpack by WordPress.com (social plugin)
 * WP Most Popular

## 安裝方式

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

## 常見問題集

  Is there any potential problems with other plugins?

As long as those plugins are using the built-in wordpress script queuing and not
attempting to output scripts manually (such as invoking wp_print_scripts()), you
should have no problems. If you find plugins that don’t work properly (or without
modifications), let me know and I will maintain an incompatibility list.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Paris Holley ](https://profiles.wordpress.org/parisholley/)

[將〈Asynchronous Javascript〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/asynchronous-javascript)

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

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

## 變更記錄

#### 1.3.5

 * Ability to mark headjs as always in header (thanks DeanStr)

#### 1.3.4

 * Fixed notices
 * Added filter to alter src location

#### 1.3.3

 * Fixed bug introduced in last version

#### 1.3.2

 * Ability to specify your own head.js file (thanks to DeanStr)

#### 1.3.1

 * Removed PHP warning

#### 1.3.0

 * Ability to exclude files by filename or queue id from being loaded asynchronously

#### 1.2.1

 * Fixed static reference for PHP < 5.2.3

#### 1.2.0

 * WordPress already orders dependencies, updated as head.js doesn’t support multiple
   dependency resolution

#### 1.1.2

 * Starting incompatibility list

#### 1.1.1

 * Updated readme and versioning

#### 1.1

 * Removed `wp_enqueue_async_script()`, should be able to use normal wordpress method`
   wp_enqueue_script()`
 * Updated normal enqueue processing to use dependencies, will need to improve upon
   this in future.

#### 1.0

 * Initial release, seems to work. 🙂

## 中繼資料

 *  版本 **1.3.5**
 *  最後更新 **13 年前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 3.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.5.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/asynchronous-javascript/)
 * 標籤:
 * [async](https://tw.wordpress.org/plugins/tags/async/)[asynchronous](https://tw.wordpress.org/plugins/tags/asynchronous/)
   [headjs](https://tw.wordpress.org/plugins/tags/headjs/)[javascript](https://tw.wordpress.org/plugins/tags/javascript/)
   [JS](https://tw.wordpress.org/plugins/tags/js/)
 *  [進階檢視](https://tw.wordpress.org/plugins/asynchronous-javascript/advanced/)

## 評分

 3.7 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Paris Holley ](https://profiles.wordpress.org/parisholley/)

## 技術支援

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

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

## 贊助

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

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paris%40holleywoodproductions%2ecom&lc=US&item_name=Paris%20Holley&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)