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_slice函数详解 go使用DialTimeout实现TCP端口扫描 每日一学:PHP 中的array_intersect_uassoc函数详解 封装ajax请求 vue3使用ajax发送网络请求 vue2+elementUI实现用户添加删除修改 每日一学:PHP 中的array_diff_key函数详解 Vue+axios判断用户名是否被占用 使用nginx反代jsdelivr 每日一学:PHP 中的array_push函数详解 最后修改:2022 年 06 月 05 日 © 允许规范转载 赞 0 如果觉得我的文章对你有用,请随意赞赏