-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chrome浏览器将于2023年1月停止使用v2版本的扩展 #23
Comments
Open
那有解决方案吗? |
自己随手写了一个. 只简单测试了一下. |
不好用啊,返回的是空json {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前跨域扩展利用的是v2版本的webRequest api,通过修改请求头和响应头使其不会对主机的其他网站造成影响,而该api将在v3版本中废弃。替代的declarativeNetRequest,由于无法读取、修改请求内容,只能靠声明式的规则去扩展应用的网络请求。发送请求时虽然可以通过动态添加规则的手段添加cookie等非安全字段,但由于无法获取响应内容,会导致set-cookie等生效从而影响到主机的其他网站。
The text was updated successfully, but these errors were encountered: