Loading... <div class="tip share">请注意,本文编写于 172 天前,最后修改于 166 天前,其中某些信息可能已经过时。</div> ![handsome主题美化记录](http://alist.sxlb.xyz/p/%E5%AD%98%E5%82%A8/%E5%8D%9A%E5%AE%A2%E6%96%87%E7%AB%A0%E5%9B%BE%E7%89%87/handsome%E4%B8%BB%E9%A2%98%E7%BE%8E%E5%8C%96%E8%AE%B0%E5%BD%95.png?sign=kEAUYHiC_e5mCh0FCngerQG_Iv-2PQLk1zZkf7X-vxs=:0) handsome主题美化记录 # 浏览器动态标题 <div class="panel panel-default collapse-panel box-shadow-wrap-lg"><div class="panel-heading panel-collapse" data-toggle="collapse" data-target="#collapse-c59f2787f93978a2d6902864a53aec4b0" aria-expanded="true"><div class="accordion-toggle"><span style="">主题设置-开发者设置-自定义输出body尾部的HTML代码添加以下代码</span> <i class="pull-right fontello icon-fw fontello-angle-right"></i> </div> </div> <div class="panel-body collapse-panel-body"> <div id="collapse-c59f2787f93978a2d6902864a53aec4b0" class="collapse collapse-content"><p></p> ``` <!--浏览器动态标题开始--> <script> var OriginTitle = document.title; var titleTime; document.addEventListener('visibilitychange', function () { if (document.hidden) { $('[rel="icon"]').attr('href', "//file.kaygb.top/static_image/tx.png"); document.title = 'ヽ(●-`Д´-)ノ我藏好了哦!'; clearTimeout(titleTime); } else { $('[rel="icon"]').attr('href', "//file.kaygb.top/static_image/tx.png"); document.title = 'ヾ(Ő∀Ő3)ノ被你发现啦~!' + OriginTitle; titleTime = setTimeout(function () { document.title = OriginTitle; }, 2000); } }); </script> <!--浏览器动态标题结束--> ``` <p></p></div></div></div> 最后修改:2024 年 04 月 23 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 2 如果觉得我的文章对你有用,请随意赞赏