代码如下: (function (clover) { clover.loadscr ipt = function loadscr ipt(url, callback) { var heads = document.getElementsByTagName(‘head’); if (heads.length == 0) { alert(“page must have one head element”); } var head = heads[0]; var scr ipt = document.