07 2025 档案

摘要:点击查看代码 setInterval(function (){ let video = document.querySelector('video') video.play() },1000) //媒体事件 video.addEventListener('ended', function(e) { 阅读全文
posted @ 2025-07-27 09:29 神仙不在 阅读(6) 评论(0) 推荐(0)
摘要:点击查看代码 setInterval(function () { var current_video = document.getElementsByTagName('video')[0] current_video.play() }, 1000) 阅读全文
posted @ 2025-07-23 10:20 神仙不在 阅读(10) 评论(0) 推荐(0)
摘要:visibilitychange 事件导致离开页面就自动暂停 点击查看代码 setInterval(function () { var current_video = document.getElementsByTagName('video')[0] current_video.play() }, 阅读全文
posted @ 2025-07-23 09:59 神仙不在 阅读(7) 评论(0) 推荐(0)
摘要:1.字符串遇见+就是拼串 2.- * /会把数据转成数值类型 3.正号也能转成数值类型 也就是说+-*/有隐式转换的功能 阅读全文
posted @ 2025-07-22 20:58 神仙不在 阅读(16) 评论(0) 推荐(0)
摘要:格式化代码 ctrl+K 阅读全文
posted @ 2025-07-18 18:30 神仙不在 阅读(4) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/686194099 阅读全文
posted @ 2025-07-15 10:35 神仙不在 阅读(9) 评论(0) 推荐(0)