Type
magento2-module
Move all javascript to the footer on Magento 2 store.
magento2-module
None
None
None
None
None
/* 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);
Try out our open demo and if you like our extension please give us some star on Github ★
Storefront Demo | Admin Panel Demo |
view | view |
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.