Loading... <h2>马师傅语录版:</h2><pre><code><script> setInterval(function() { document.title = "左正蹬" }, 1000); setInterval(function() { document.title = "右鞭腿" }, 2000); setInterval(function() { document.title = "左刺拳" }, 3000); setInterval(function() { document.title = "点到为止" }, 4000); setInterval(function() { document.title = "年轻人不讲武德" }, 5000); setInterval(function() { document.title = "我大意了啊" }, 6000); setInterval(function() { document.title = "耗子尾汁" }, 7000); </script> </code></pre><h2>404版</h2><pre><code> <script> window.onfocus = function() { document.title = '404????'; }; window.onblur = function() {//焦点离开 document.title = '404 Not Found'; }; </script> </code></pre><hr><pre><code> function Title(){ var t = document.title; window.onblur = function() { document.title = '404 Not Found'; }; window.onfocus = function() { document.title = t }; } Title()</code></pre><p>把这段代码放到你的<head></head>处就可以了<br>本文作者:小小孩子们<br>本文链接:<a href="https://www.xxhzm.cn/index.php/archives/23/"><a href="https://www.xxhzm.cn/index.php/archives/23/">https://www.xxhzm.cn/index.php/archives/23/</a></a></p><p>转载请注明本文链接</p> 猜你想看 react学习-表单处理(四) 关于PHP数组相关的常用函数 总结一下nuxt3踩过的坑 每日一学:PHP 中的array_key_last函数详解 JavaScript声明变量var let const的区别 HTML5、JS使用canvas绘画 nux2对比nuxt3 分享一个开源的字体分片工具 jQuery图片移动 axios封装token示例 最后修改:2022 年 06 月 05 日 © 允许规范转载 赞 0 如果觉得我的文章对你有用,请随意赞赏