我一直在构建一个 Chrome 扩展程序,部分使用Chrome 调试器协议 https://chromedevtools.github.io/debugger-protocol-viewer/。
中的某些事件网络域 https://chromedevtools.github.io/debugger-protocol-viewer/tot/Network/ like 请求将被发送 https://chromedevtools.github.io/debugger-protocol-viewer/tot/Network/#event-requestWillBeSent包括“时间戳”和“wallTime”。
walltime 是自 1970 年以来的常规秒格式,但时间戳以秒为单位,但不清楚它的 0 在哪里,并且许多事件没有 wallTime 所以我really试图找出如何从时间戳导出 wallTime。
基于this https://developers.google.com/web/updates/2016/01/high-res-timestamps?hl=en我相信是基于 navigationStart 值,但并没有根据扩展程序的 navigationStart 的背景页面或事件发起的 navigationStart 页面产生正确的日期。
是否有可能使用时间戳来获取 wallTime 或者我运气不好?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)