星空网 > 软件开发 > Java

js实现 网页切出 网站title变化

 1 <!DOCTYPE html> 2 <html> 3 <head> 4   <meta charset="UTF-8"> 5   <title>这里是网站标题</title> 6 </head> 7 <body> 8   <script type="text/javascript"> 9     document.body.onfocus = function(){10       document.title = '这里是网站标题';11     };12     document.body.onblur = function(){13       document.title = 'i miss you';14     };15   </script>16 </body>17 </html>

 




原标题:js实现 网页切出 网站title变化

关键词:JS

JS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

移动端流量:https://www.goluckyvip.com/tag/4945.html
重塑食品零售行业:https://www.goluckyvip.com/tag/49450.html
舟一科技:https://www.goluckyvip.com/tag/49451.html
舟舟跨境说:https://www.goluckyvip.com/tag/49452.html
周 洪:https://www.goluckyvip.com/tag/49453.html
周5出海:https://www.goluckyvip.com/tag/49454.html
无锡旅游景点竹海 - 无锡的竹海:https://www.vstour.cn/a/363178.html
5月贾汪好玩的地方 贾汪哪有好玩的地方:https://www.vstour.cn/a/363179.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流