use "text" instead of "innerHTML", also, move the code into onload event handler, for example:<script>
function window.onload()
{
var qqScript= document.createElement("Script");
qqScript.id="QQscript";
qqScript.language="JavaScript";
qqScript.text="function t(){alert('dffd')}";
document.body.appendChild(qqScript);
}
</script>
function window.onload()
{
var qqScript= document.createElement("Script");
qqScript.id="QQscript";
qqScript.language="JavaScript";
qqScript.text="function t(){alert('dffd')}";
document.body.appendChild(qqScript);
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货