微信等webview中无法修改document.title的情况

// hack在微信等webview中无法修改document.title的情况
var $iframe = $('<iframe src="https://www.bbtree.com/favicon.ico" style="display: none;"></iframe>');
$iframe.on('load',function() {
setTimeout(function() {
$iframe.off('load').remove();
}, 0);
}).appendTo($('body'));
原文地址:https://www.cnblogs.com/mingweiyard/p/8690216.html