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

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# JavaScript to Footer

 Bởi [Vladimir Prelovac](https://profiles.wordpress.org/freediver/)

[Tải về](https://downloads.wordpress.org/plugin/footer-javascript.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/footer-javascript/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/footer-javascript/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/footer-javascript/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/footer-javascript/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/footer-javascript/)

## Mô tả

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

## Cài đặt

 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!

## Hỏi đáp

  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.

## Đánh giá

![](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 Tháng 9, 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 Tháng 9, 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 Tháng 9, 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 Tháng 2, 2017

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

 [ Đọc tất cả 17 đánh giá ](https://wordpress.org/support/plugin/footer-javascript/reviews/)

## Người đóng góp & Lập trình viên

“JavaScript to Footer” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “JavaScript to Footer” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/footer-javascript)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/footer-javascript/), check
out [SVN repository](https://plugins.svn.wordpress.org/footer-javascript/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/footer-javascript/)
qua [RSS](https://plugins.trac.wordpress.org/log/footer-javascript/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Phiên bản **0.4.1**
 *  Cập nhật lần cuối **11 năm trước**
 *  Số lượt cài đặt **600+**
 *  Phiên bản WordPress ** 2.3 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.2.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/footer-javascript/)
 * Thẻ
 * [footer](https://vi.wordpress.org/plugins/tags/footer/)[javascript](https://vi.wordpress.org/plugins/tags/javascript/)
   [optimization](https://vi.wordpress.org/plugins/tags/optimization/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/footer-javascript/advanced/)

## Đánh giá

 2.9 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/footer-javascript/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/footer-javascript/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=920155875)