Skip to content

magefan/module-rocketjavascript

Repository files navigation

Magefan Rocket JavaScript Extension for Magento 2

Features

  • Rocket JavaScript module allows you to move all javascript tags to the footer of the storefront page on your Magento 2 Store.
  • Optimize JavaScript Bundle

Configuration

  • To enable or disable extension please navigate to Magento 2 Admin Panel > Stores > Magefan Extensions > Rocket JavaScript

Requirements

  • Magento Community Edition 2.1.x-2.2.x or Magento Enterprise Edition 2.1.x-2.2.x

Installation Method 1 - Installing via composer

  • Open command line
  • Using command "cd" navigate to your magento2 root directory
  • Run commands:
composer require magefan/module-rocketjavascript php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy 

Installation Method 2 - Installing using archive

  • Install the Magefan Community Extension first
  • Download ZIP Archive
  • Extract files
  • In your Magento 2 root directory create folder app/code/Magefan/Blog
  • Copy files and folders from archive to that folder
  • In command line, using "cd", navigate to your Magento 2 root directory
  • Run commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy 

Get List Of Used JS

/* Use in browser console */ globalSrc = []; jQuery('script').each(function(){ if (!jQuery(this).attr('src')) return; var src = (jQuery(this).attr('src').replace('PATH_TO_JS', '')); globalSrc.push(src) }) console.log(JSON.stringify(globalSrc)); 

Support

If you have any issues, please contact us then if you still need help, open a bug report in GitHub's issue tracker.

Please do not use Magento Marketplace's Reviews or (especially) the Q&A for support. There isn't a way for us to reply to reviews and the Q&A moderation is very slow.

License

The code is licensed under Open Software License ("OSL") v. 3.0.

Other Magefan Extensions That Can Be Installed Via Composer