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-22
  • 2021-12-09
  • 2022-01-02
  • 2021-12-18
  • 2022-01-02
  • 2021-10-15
  • 2021-11-02
  • 2021-07-21
猜你喜欢
  • 2021-12-03
  • 2021-05-05
  • 2021-11-21
  • 2021-12-23
  • 2021-12-05
  • 2021-09-03
  • 2021-08-01
相关资源
相似解决方案