一个很有意思的代码,试试看
--------------------------
var _titleChange = document.title; document.addEventListener('visibilitychange', function() { document.title = document.hidden ? '网页奔溃了...o(╯□╰)o...':_titleChange });
一个很有意思的代码,试试看
--------------------------
var _titleChange = document.title; document.addEventListener('visibilitychange', function() { document.title = document.hidden ? '网页奔溃了...o(╯□╰)o...':_titleChange });
转载于:https://www.cnblogs.com/jshare/p/7339214.html