Google 页面速度见解不适用于 Firebase 托管上托管的网站

Google Page speed insights doesn't work with sites hosted on Firebase Hosting

我为一家公司建立了一个网站,当我尝试使用 google pagespeed 中的 https://openroad.nz 域时,它 returns 出现此错误 Requests from referer https://www.googleapis.com/ are blocked .

知道这是怎么回事吗?为什么会这样?

对我来说很好,你得到了 74 / 100,我唯一能想到的是你正在使用带有 'Shields Up' 的 Brave Browser 或者有一个阻止请求的防火墙。

尝试在隐身模式下使用 Google Chrome,同时连接到您的手机 phone(因为这消除了大多数可能的障碍),看看是否允许您 运行测试。

如果您使用的是 Brave 浏览器,我也是 运行 因为它而陷入这个问题,您需要为 Brave Shield 设置启用高级视图(右侧的狮子徽标)地址栏:

然后将 cookie 设置更改为 "All Cookies Allowed" PageSpeed Insights 将起作用。