2017 © Pedro Peláez
 

magento-module footerjs

Meanbee Footerjs module

image

meanbee/footerjs

Meanbee Footerjs module

  • Wednesday, July 26, 2017
  • by meanbee
  • Repository
  • 25 Watchers
  • 135 Stars
  • 1,131 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 39 Forks
  • 3 Open issues
  • 4 Versions
  • 38 % Grown

The README.md

Magento Footer JS

A common web development technique to improve page load times is to move JavaScript to the end of the page. A common frustration for frontend Magento developers is the inability to do this due to the amount of inline JavaScript found in templates., (*1)

This extension observes for the core_block_abstract_to_html_after event, removes any javascript it finds and appends it to the end of the body., (*2)

Tested against:, (*3)

  • CE 1.9
  • EE 1.14 (inc FPC)

Usage

Enable the extension in System > Configuration > Advanced > Developer > JavaScript Settings > Move JavaScript to Footer., (*4)

Add name of blocks with JS which must not be moved to footer in System > Configuration > Advanced > Developer > JavaScript Settings > FooterJS Excluded Blocks. Enter block names separated with a comma. Please note, JS libraries are moved to footer so be careful excluding JS which has dependencies., (*5)

Also there is another way to exclude some JS from moving to the footer - add attribute data-footer-js-skip="true" to script tag. Currently there is no way to exclude JS added using addJs/addItem in layout., (*6)

License

Copyright (C) 2015 Tom Robertshaw, (*7)

This program 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., (*8)

This program 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., (*9)

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/, (*10)

The Versions

26/07 2017

dev-develop

dev-develop

Meanbee Footerjs module

  Sources   Download

The Requires

  • php >=5.5

 

26/07 2017

dev-master

9999999-dev

Meanbee Footerjs module

  Sources   Download

The Requires

  • php >=5.5

 

26/07 2017

0.1.3

0.1.3.0

Meanbee Footerjs module

  Sources   Download

The Requires

  • php >=5.5

 

23/08 2015

dev-fpc

dev-fpc

Meanbee Footerjs module

  Sources   Download

The Requires