BeyondDimension / BeyondDimension/SteamTools

🧐[Question] Chrome 142 从 github.io 访问 githubusercontent.com 资源时会出现 CORS 错误

Open
#3,776 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

## 请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue(有个 #3540,但和我这个应该关系不大)
- [x] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)

### 🧐 问题描述

将 Chrome 更新到 142 版本后,使用 Watt Toolkit 加速 GitHub,然后从 github.io 域名下的网站访问 githubusercontent.com 域名下的资源时会出现 CORS 错误,如:

Access to resource at 'https://avatars.githubusercontent.com/u/161030746?s=110' from origin 'https://zhdbk3.github.io' has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space.

这似乎与 Chrome 在 142 中做出的[重大安全更新](https://news.qq.com/rain/a/20251101A01NE700)有关,我测试了 Chrome 141 与 Edge,均不存在这个问题。

从 github.com 访问的 githubusercontent.com 资源不存在这个问题。

如果挂梯子的话,不会有这个问题,仅在使用 Watt Toolkit 加速时会出现这个问题,所以我来这里报告和询问。不确定是不是 Watt Toolkit 本身的 bug,所以我选择 question。

### 🚑 其他信息

Chrome 版本:142.0.7444.59

- 处理器体系结构:x64
- 系统版本号:Arch Linux 6.17.7
- 下载渠道:AUR
- 程序版本:3.0.0-rc.16
- 是否包含独立运行时:否

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.