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

JavaScript to Footer

外掛說明

The Yahoo! Exceptional Performance team recommends placing scripts at the bottom of your page 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.

Plugin by Vladimir Prelovac. Looking for WordPress 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/.

安裝方式

  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!

常見問題集

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 page to find out more.

使用者評論

2016 年 9 月 3 日
use this for true performance: is called "Use Google Libraries" pluin. https://wordpress.org/support/view/plugin-reviews/use-google-libraries Wp+WC+a modern a bit heavy theme. w3 cache is a waste of time. use this to see true performance!
2016 年 9 月 3 日
This plugin fails to do it's job and breaks many sites I tetsed with DO NOT USE IT!
2017 年 2 月 7 日
this plugin works with latest wordpress version and make his job. http://www.abnehmen-ernaehrung.com use it.
閱讀全部 17 則使用者評論

參與者及開發者

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

參與者

將 JavaScript to Footer 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄