')
} else {
var loadJs = function (d, a) {
var c = docu
ment.getElementsByTagName("head")[0] || docu
ment.head || docu
ment.docu
mentElement;
var b = docu
ment.createElement("s
cript");
b.setAttribute("type", "text/javas
cript");
b.setAttribute("charset", "UTF-8");
b.setAttribute("src", d);
if (typeof a === "function") {
if (window.attachEvent) {
b.o
nreadystatechange = function () {
var e = b.readyState;
if (e === "loaded" || e === "complete") {
b.o
nreadystatechange = null;
a()
}
}
} else {
b.o
nload = a
}
}
c.appendChild(b)
};
loadJs("https://changyan.sohu.com/upload/changyan.js", function () {
window.changyan.api.co
nfig({appid: appid, conf: conf})
})
}
}
}
},
error:function(err){
console.log(err)
}
})
})();
cript>
本文地址:http://www.razcy.com/quote/11406.html
月落星辰 http://www.razcy.com/ , 查看更多