Safari中的window.performance.getEntriesByType是否有polyfill?

问题描述 投票:5回答:1

在Safari中没有定义window.performance.getEntrieswindow.performance.getEntriesByType

这些功能是否有填充剂?还是有人创造了一些替代方案?

我想要做的是在页面中加载所有资源。 (所有图像,css和js文件)

javascript safari mobile-safari polyfills
1个回答
1
投票

由于Safari不以任何JavaScript方式提供该信息,因此无法为此创建Polyfill。别再找了。你不会有运气:(

© www.soinside.com 2019 - 2024. All rights reserved.