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> 猜你想看 正则表达式 Vue插槽 cdn.xxhzm.cn免费的静态文件加速服务 每日一学:PHP 中的array_rand函数详解 Vue Router 的多个路由定义和使用方法详解 JS代码防止网站别别人恶意镜像 vue2+elementUI实现用户添加删除修改 TypechoCDN配置全过程 - 超详细 每日一学:PHP 中的array_intersect_assoc函数详解 Vue的基本使用与指令 最后修改:2022 年 06 月 05 日 © 允许规范转载 赞 0 如果觉得我的文章对你有用,请随意赞赏