document.addEventListener("visibilitychange", function() {
  console.log( document.visibilityState );
});

https://blog.csdn.net/wxl1555/article/details/79717680

相关文章:

  • 2022-12-23
  • 2022-02-23
  • 2022-02-24
  • 2022-01-14
  • 2022-01-16
  • 2022-01-08
  • 2022-12-23
  • 2021-11-02
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案