function createScript(script) {
    var myScript = document.createElement("script");
    myScript.type = "text/javascript";
    myScript.appendChild(document.createTextNode(script));
    document.body.appendChild(myScript);
}

 

相关文章:

  • 2021-08-02
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-08-03
  • 2021-10-07
  • 2021-11-29
猜你喜欢
  • 2021-08-24
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-12-18
  • 2021-09-25
  • 2022-02-26
相关资源
相似解决方案