hypershop/module-exclude-footer-scripts-os
最新稳定版本:100.4.5.1
Composer 安装命令:
composer require hypershop/module-exclude-footer-scripts-os
包简介
Module to exclude javascript movement to the bottom of your page. This allows scripts to be executing immediately during page load.
README 文档
README
- Module to exclude javascript movement to the bottom of your page. This is very useful when using the JS setting: "Move JS code to the bottom of the page". This allows scripts to be executing immediately during page load.
Installation / Setup
- Install the module using the command
composer require hypershop/module-exclude-footer-scripts-os - After installing, run a
bin/magento setup:upgradeto add it to the Magento module list.
Usage / Settings
- To prevent scripts to be moved to the bottom of your page, add the
excludedtag to the script.
<script type="text/javascript"> console.log('I get moved to the footer after load'); </script>
<script type="text/javascript" excluded> console.log('I do not get moved to the bottom!'); </script>
Common issues
- None known so far.
统计信息
- 总下载量: 168
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-11-02