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

---

Meklēt spraudņus

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

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

# JavaScript to Footer

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

[Lejupielādēt](https://downloads.wordpress.org/plugin/footer-javascript.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/footer-javascript/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/footer-javascript/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/footer-javascript/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/footer-javascript/#developers)

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

## Apraksts

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/).

## Uzstādīšana

 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!

## BUJ

  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.

## Atsauksmes

![](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 septembris, 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 septembris, 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 septembris, 
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 februāris, 2017

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

 [ Lasīt 17 atsauksmi ](https://wordpress.org/support/plugin/footer-javascript/reviews/)

## Autori un izstrādātāji

“JavaScript to Footer” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

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

[Tulkot “JavaScript to Footer&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/footer-javascript)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/footer-javascript/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/footer-javascript/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/footer-javascript/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/footer-javascript/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versija **0.4.1**
 *  Pēdējo reizi atjaunots: **pirms 11 gadiem**
 *  Aktīvās instalācijas: **600+**
 *  WordPress versija ** 2.3 vai jaunāka **
 *  Pārbaudīts līdz: **4.2.39**
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/footer-javascript/)
 * Birkas:
 * [footer](https://lv.wordpress.org/plugins/tags/footer/)[javascript](https://lv.wordpress.org/plugins/tags/javascript/)
   [optimization](https://lv.wordpress.org/plugins/tags/optimization/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/footer-javascript/advanced/)

## Vērtējumi

 2.9 no 5 zvaigznēm.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/footer-javascript/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/footer-javascript/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/footer-javascript/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/footer-javascript/reviews/?filter=2)
 *  [  6 1-star reviews     ](https://wordpress.org/support/plugin/footer-javascript/reviews/?filter=1)

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

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/footer-javascript/reviews/)

## Līdzdalībnieki

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

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/footer-javascript/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=920155875)