Title: JavaScript to Footer
Author: Vladimir Prelovac
Published: <strong>2 december 2008</strong>
Last modified: 22 december 2014

---

Sök tillägg

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://ps.w.org/footer-javascript/assets/icon-128x128.png?rev=1051418)

# JavaScript to Footer

 Av [Vladimir Prelovac](https://profiles.wordpress.org/freediver/)

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

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

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

## Beskrivning

The Yahoo! Exceptional Performance team recommends [placing scripts at the bottom of your page](http://developer.yahoo.com/performance/rules.html#js_bottom)
because of the way browsers download components.

”The problem caused by scripts is that they block parallel downloads. The HTTP/1.1
specification suggests that browsers download no more than two components in parallel
per hostname. If you serve your images from multiple hostnames, you can get more
than two downloads to occur in parallel. While a script is downloading, however,
the browser won’t start any other downloads, even on different hostnames.

In some situations it’s not easy to move scripts to the bottom. If, for example,
the script uses document.write to insert part of the page’s content, it can’t be
moved lower in the page. There might also be scoping issues. In many cases, there
are ways to workaround these situations.”

WordPress default behavior is to load javascript in the page.

This plugin will move all javascript code to the footer if the plugins have [declared javascript properly](http://www.prelovac.com/vladimir/best-practice-for-adding-javascript-code-to-wordpress-plugin).

Plugin by [Vladimir Prelovac](http://www.prelovac.com/vladimir). Looking for [WordPress Services](http://www.prelovac.com/vladimir/services)?

### License

This file is part of Footer JavaScript.

Footer JavaScript 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.

Footer JavaScript 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.

You should have received a copy of the GNU General Public License along with Footer
JavaScript. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## Installation

 1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
 2. Go to the Plugins page and activate the plugin.
 3. Try your blog and check if all plugins work properly. Footer JavaScript may break
    some plugins so check everything first!

## Vanliga frågor

  How do I correctly use this plugin?

Just enable the plugin and check your blog pages. If all plugins appear to be working
correctly you are set!

Additionally you may install YSlow enchancment for Firebug, a popular addon for 
Firefox browser. YSlow will help you determine your site choke points.

  I love your work, are you available for hire?

Yes I am, visit my [WordPress Services](http://www.prelovac.com/vladimir/services)
page to find out more.

## Recensioner

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

### 󠀁[Can’t give perfect result](https://wordpress.org/support/topic/cant-give-perfect-result/)󠁿

 [AB Siddik](https://profiles.wordpress.org/siddiknmh/) 17 september 2016

I used and face some of bad experience with it

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

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-481/)󠁿

 [Zudwa](https://profiles.wordpress.org/zudwa/) 3 september 2016

Good

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

### 󠀁[Rubbish](https://wordpress.org/support/topic/rubbish-25/)󠁿

 [convictedvapour](https://profiles.wordpress.org/chronicbubble/) 3 september 2016

This plugin fails to do it’s job and breaks many sites I tetsed with DO NOT USE 
IT!

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

### 󠀁[works with latest wordpress](https://wordpress.org/support/topic/works-with-latest-wordpress/)󠁿

 [abrla](https://profiles.wordpress.org/abrla/) 7 februari 2017

this plugin works with latest wordpress version and make his job. http://www.abnehmen-
ernaehrung.com use it.

 [ Läs alla 17 betyg ](https://wordpress.org/support/plugin/footer-javascript/reviews/)

## Bidragsgivare och utvecklare

”JavaScript to Footer” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Vladimir Prelovac ](https://profiles.wordpress.org/freediver/)

[Översätt ”JavaScript to Footer” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/footer-javascript)

### Intresserad av programutveckling?

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

## Meta

 *  Version **0.4.1**
 *  Senast uppdaterat **11 år sedan**
 *  Aktiva installationer **600+**
 *  WordPress-version ** 2.3 eller senare **
 *  Testat upp till **4.2.39**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/footer-javascript/)
 * Etiketter
 * [footer](https://sv.wordpress.org/plugins/tags/footer/)[javascript](https://sv.wordpress.org/plugins/tags/javascript/)
   [optimization](https://sv.wordpress.org/plugins/tags/optimization/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/footer-javascript/advanced/)

## Betyg

 2.9 av 5 stjärnor.

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

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

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

## Bidragande personer

 *   [ Vladimir Prelovac ](https://profiles.wordpress.org/freediver/)

## Support

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

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

## Donera

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

 [ Donera till det här tillägget ](https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=920155875)