在Safari中没有定义window.performance.getEntries和window.performance.getEntriesByType。
window.performance.getEntries
window.performance.getEntriesByType
这些功能是否有填充剂?还是有人创造了一些替代方案?
我想要做的是在页面中加载所有资源。 (所有图像,css和js文件)
由于Safari不以任何JavaScript方式提供该信息,因此无法为此创建Polyfill。别再找了。你不会有运气:(