Skip to content
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

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details. #11

Open
bryanray opened this issue Mar 6, 2023 · 2 comments

Comments

@bryanray
Copy link

bryanray commented Mar 6, 2023

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.

{
"name": "WeChrome",
"version": "1.0",
"description": "Unblock web version of WeChat",
"permissions": [
"activeTab",
"webRequest",
"webRequestBlocking",
"https://wx.qq.com/",
"https://web.wechat.com/
",
"https://wx2.qq.com/",
"https://wx8.qq.com/
"
],

"background": {
"scripts": ["background.js"]
},
"icons": {
"16": "images/get_started16.png",
"32": "images/get_started32.png",
"48": "images/get_started48.png",
"128": "images/get_started128.png"
},
"manifest_version": 2 <-----------------this part
}

@lqzhgood
Copy link

lqzhgood commented May 1, 2023

v3 改动太大了~

看完文档,写完 Rules ,打包进浏览器报错~
Only standard HTTP request headers that can specify multiple values for a single entry are supported.
关键的自定义头好像不支持了,实现的话貌似要 hack XMLHttpRequest
https://stackoverflow.com/questions/73548285/with-chrome-manifest-v3-how-can-i-add-custom-fields-to-request-headers

改了几个小时各种坑,这也不让用,那也不让用……

没错,我就是上来吐槽的
吐槽完毕,我重写一个吧……

T.T

@lqzhgood
Copy link

lqzhgood commented May 2, 2023

Manifest version 3 Implementation ~

https://github.com/lqzhgood/wechat-need-web

If you are careful enough, you can also discover a little something. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants