在Chrome(第55版)上执行以下javascript时,会报告“此插件不受支持”。由于它适用于所有其他浏览器,我想知道Chrome的解决方法:
windowload = function($loadblog) {
var eheight = (window.innerHeight) - 120;
loader = "<object type='type/html' data='" + $loadblog + "' ";
loader+= "style='height: " + eheight.toString() + "px; ";
loader+= "width:800px;' onContextMenu='return false'></object>";
document.getElementById("blog").innerHTML = loader; }