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获取用户的真实ip地址 Vue+axios判断用户名是否被占用 每日一学:PHP 中的array_intersect_uassoc函数详解 jQuery animate动画 JS离开窗口改变title jQuery事件 每日一学:PHP 中的array_uintersect_uassoc函数详解 祝大家中秋节快乐!给大家送上中秋节小动画。 Go编码规范 PHP字符串常用函数 最后修改:2022 年 06 月 05 日 © 允许规范转载 赞 0 如果觉得我的文章对你有用,请随意赞赏