1. 程式人生 > >微信端修改title

微信端修改title

create frame cti one 微信 ram title end ucc

function setTitle(t) {
document.title = t;
var i = document.createElement(‘iframe‘);
i.src = "img/icon_success.png";
i.style.display = ‘none‘;
i.onload = function() {
setTimeout(function(){
i.remove();
}, 9)
}
document.body.appendChild(i);
}

微信端修改title