const script = document.createElement('script'); script.src = 'js网络路径'; script.language = 'JavaScript'; document.body.appendChild(script);