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> 猜你想看 每日一学:PHP 中的array_udiff函数详解 小小Blog征稿-投稿入口 jQuery点击图片淡入淡出 8月30日js学习笔记 jQuery animate动画 每日一学:PHP 中的array_pad函数详解 react学习-环境初始化(一) axios封装token示例 vue3新特性 Vue路由 最后修改:2022 年 06 月 05 日 © 允许规范转载 赞 0 如果觉得我的文章对你有用,请随意赞赏