![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
浏览器
Lucky_girl_wan
这个作者很懒,什么都没留下…
展开
-
vue判断浏览器是刷新还是关闭
判断浏览器是否关闭,关闭时清除localStorage缓存,刷新则不清除原创 2022-10-27 17:36:43 · 4638 阅读 · 1 评论 -
浅谈http与webSocket的区别?
浅谈http与webSocket的区别?原创 2022-10-09 14:54:32 · 923 阅读 · 0 评论 -
http:IP开头的路径使用js-audio-recorder报浏览器不支持getUserMedia
因为浏览器不支持http:IP开头的路径,认为安全性不高只支持浏览器:file:,https:,http://localhost解决办法:在谷歌浏览器的地址栏中输入:chrome://flags/#unsafely-treat-insecure-origin-as-secure就好了,或者用http: 域名也可以解决...原创 2021-11-10 11:27:25 · 2907 阅读 · 0 评论 -
Passive Event Listeners
vue3中写项目时,Chrome提示以下信息:[Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive.翻译为:[违规]将非被动事件侦听器添加到滚动阻止“滚轮”事件。将事件处理程序标记为“被动”以使页面更加响应。原因为:Chrom..原创 2021-09-03 14:24:46 · 195 阅读 · 0 评论