@ -80,6 +80,10 @@ class Index extends CI_Controller
//$js_content.= $link_script->innertext;//js的内容
// $js_content.= $link_script;//js的内容,包含<script>标签
//含有$表示调用了jquery的函数,添加延迟加载defer
//包含gtm的js引入就跳出循环
if(strpos($link_script, 'https://www.googletagmanager.com/gtm.js')){
continue;
}
if (strpos($link_script, '$') !== FALSE) {
$js_jquery_content .= $link_script->innertext;
} else {