Magento 2 Rocket JavaScript Code
Enable deferred JavaScript loading at Magento 2 store with this module
Brought to you by:
magefan
| File | Date | Author | Commit |
|---|---|---|---|
| Block | 2020-01-13 |
|
[d87430] Changed OSL to EULA |
| Model | 2020-08-26 |
|
[a26362] Fixed Deprecated Functionality error (part 2) |
| Plugin | 2020-01-13 |
|
[d87430] Changed OSL to EULA |
| etc | 2020-08-27 |
|
[80b0c5] Update module.xml |
| LICENSE.txt | 2020-01-13 |
|
[d87430] Changed OSL to EULA |
| README.md | 2021-02-19 |
|
[db8f5e] Update README.md |
| composer.json | 2020-08-27 |
|
[67ca5e] Update composer.json |
| registration.php | 2020-01-13 |
|
[d87430] Changed OSL to EULA |
/* Use in browser console */
globalSrc = '';
jQuery('script').each(function(){
if (!jQuery(this).attr('src')) return;
var src = jQuery(this).attr('src');
if (src.indexOf(require.toUrl('')) != -1 && src.indexOf('Magefan_LazyLoad') == -1) {
var src = (src.replace(require.toUrl(''), ''));
globalSrc += "\n" + src;
}
})
console.log(globalSrc);
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.
The code is licensed under Open Software License ("OSL") v. 3.0.