Skip to content

Commit c1e879f

Browse files
authored
Merge pull request #3 from xty/alternative-domains
Add support for alternative domains
2 parents 26fc4ad + 474d2ca commit c1e879f

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

dist/manifest.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "wechat-need-web",
44
"author": "lqzh",
55
"homepage_url": "https://github.com/lqzhgood/wechat-need-web",
6-
"version": "1.0.0",
6+
"version": "1.0.1",
77
"description": "Allow the use of WeChat via webpage access",
88
"permissions": [
99
"declarativeNetRequest"
@@ -25,7 +25,10 @@
2525
},
2626
"host_permissions": [
2727
"https://wx.qq.com/*",
28+
"https://web.weixin.qq.com/*",
2829
"https://web.wechat.com/*",
30+
"https://web1.wechat.com/*",
31+
"https://web2.wechat.com/*",
2932
"https://wx2.qq.com/*",
3033
"https://wx8.qq.com/*"
3134
],

package-lock.json

Lines changed: 7 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wechat-need-web",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Allow WeChat to access the webpage.",
55
"main": "index.js",
66
"scripts": {

src/const.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ export const WECHAT_HEADERS: Readonly<{
2626

2727
export const WECHAT_URLS: Readonly<string[]> = [
2828
"https://wx.qq.com/*",
29+
"https://web.weixin.qq.com/*",
2930
"https://web.wechat.com/*",
31+
"https://web1.wechat.com/*",
32+
"https://web2.wechat.com/*",
3033
"https://wx2.qq.com/*",
3134
"https://wx8.qq.com/*",
3235
];

0 commit comments

Comments
 (0)