<!doctype html>
<head>
<meta charset="utf-8">
<title>11111111</title>
</head>
<body>
<div id="container">
</div>
<script>
var flash='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"></object>';
var flashCont=document.createElement("div");
flashCont.innerHTML=flash;
document.body.insertBefore(flashCont,document.body.firstChild);
</script>
</body>
</html>在页面的地址栏加入#然后刷新页面会发现title被改成了“#”。
我把classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"改掉就没事了。但是不知道原因,而且这句话也有问题:document.body.insertBefore(flashCont,document.body.firstChild);
如果改成用一个固定ID去加载就不会只出现一个#而是出现原来的title+#号。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货