Title: Asynchronous Javascript
Author: Paris Holley
Published: <strong>18 januari 2013</strong>
Last modified: 2 november 2013

---

Sök tillägg

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

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Asynchronous Javascript

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/asynchronous-javascript/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/asynchronous-javascript/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/asynchronous-javascript/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/asynchronous-javascript/#developers)

 [Support](https://wordpress.org/support/plugin/asynchronous-javascript/)

## Beskrivning

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

## Installation

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

## Vanliga frågor

  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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Asynchronous Javascript” är programvara med öppen källkod. Följande personer har
bidragit till detta tillägg.

Bidragande personer

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

[Översätt ”Asynchronous Javascript” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/asynchronous-javascript)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/asynchronous-javascript/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/asynchronous-javascript/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/asynchronous-javascript/)
via [RSS](https://plugins.trac.wordpress.org/log/asynchronous-javascript/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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. 🙂

## Meta

 *  Version **1.3.5**
 *  Senast uppdaterat **13 år sedan**
 *  Aktiva installationer **100+**
 *  WordPress-version ** 3.5 eller senare **
 *  Testat upp till **3.5.2**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/asynchronous-javascript/)
 * Etiketter
 * [async](https://sv.wordpress.org/plugins/tags/async/)[asynchronous](https://sv.wordpress.org/plugins/tags/asynchronous/)
   [headjs](https://sv.wordpress.org/plugins/tags/headjs/)[javascript](https://sv.wordpress.org/plugins/tags/javascript/)
   [JS](https://sv.wordpress.org/plugins/tags/js/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/asynchronous-javascript/advanced/)

## Betyg

 3.7 av 5 stjärnor.

 *  [  5 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/?filter=5)
 *  [  1 4-stjärnig recension     ](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/?filter=3)
 *  [  1 2-stjärnig recension     ](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/?filter=2)
 *  [  2 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/?filter=1)

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

[Visa alla recensioner](https://wordpress.org/support/plugin/asynchronous-javascript/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/asynchronous-javascript/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](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)