chrome 切换 edge 发现问题多多

查看 16|回复 0
作者:guoguobaba   
访问某些网站总是载入失败,最明显的是 cloudflare 的验证,没有一次成功的,比如 hdchina.org 或者 maven repository ,一直在转校验地址
还有一种是 mixed content 的访问,比如 https://xwqy.gsxt.gov.cn/ ,里面的 js 都是访问 http 的,允许 Insecurity content 页面能正常访问,但是搜索会出现
```
Access to XMLHttpRequest at 'http://xwqy.gsxt.gov.cn/pc-geetest/register?t=1697392815424' from origin 'https://xwqy.gsxt.gov.cn' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
```
的错误,因为访问的是 http 的接口。
这些 chrome 都能正常访问。而且 f12 看,都是访问 https 的 url 。
有人碰到这种情况吗,如何解决。
您需要登录后才可以回帖 登录 | 立即注册

返回顶部