andking

document.setTitle = function(t) {
document.title = t;
var i = document.createElement(\'iframe\');
  i.src = \'/favicon.ico\';
  i.style.display = \'none\';
  i.onload = function() {
  setTimeout(function(){
    i.remove();
  }, 0)
  }
document.body.appendChild(i);
}

setTimeout(function(){
  document.setTitle(‘hello!’)
}, 1000)

 

分类:

技术点:

相关文章:

  • 2021-12-23
  • 2021-08-15
  • 2021-06-18
  • 2021-12-05
  • 2021-08-26
  • 2021-09-21
猜你喜欢
  • 2021-09-15
  • 2021-10-12
  • 2021-05-05
  • 2021-12-03
  • 2023-03-15
  • 2022-12-23
相关资源
相似解决方案