mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-06 08:32:51 +08:00
🐛 添加hoyoverse域名准入
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
},
|
||||
{
|
||||
"url": "https://*.mihoyo.com/*"
|
||||
},
|
||||
{
|
||||
"url": "https://*.hoyoverse.com/*"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -71,6 +71,12 @@
|
||||
},
|
||||
{
|
||||
"url": "https://*.mihoyogift.com/*"
|
||||
},
|
||||
{
|
||||
"url": "https://*.bilibili.com/*"
|
||||
},
|
||||
{
|
||||
"url": "https://*.hoyoverse.com/*"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -76,6 +76,9 @@
|
||||
},
|
||||
{
|
||||
"url": "https://homa.snapgenshin.com/*"
|
||||
},
|
||||
{
|
||||
"url": "https://*.hoyoverse.com/*"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -701,7 +701,6 @@
|
||||
"identifier": "default",
|
||||
"description": "Default permissions for the plugin.",
|
||||
"permissions": [
|
||||
"allow-get-all-webviews",
|
||||
"allow-webview-position",
|
||||
"allow-webview-size",
|
||||
"allow-internal-toggle-devtools"
|
||||
@@ -718,11 +717,6 @@
|
||||
"description": "Enables the create_webview_window command without any pre-configured scope.",
|
||||
"commands": { "allow": ["create_webview_window"], "deny": [] }
|
||||
},
|
||||
"allow-get-all-webviews": {
|
||||
"identifier": "allow-get-all-webviews",
|
||||
"description": "Enables the get_all_webviews command without any pre-configured scope.",
|
||||
"commands": { "allow": ["get_all_webviews"], "deny": [] }
|
||||
},
|
||||
"allow-internal-toggle-devtools": {
|
||||
"identifier": "allow-internal-toggle-devtools",
|
||||
"description": "Enables the internal_toggle_devtools command without any pre-configured scope.",
|
||||
@@ -783,11 +777,6 @@
|
||||
"description": "Denies the create_webview_window command without any pre-configured scope.",
|
||||
"commands": { "allow": [], "deny": ["create_webview_window"] }
|
||||
},
|
||||
"deny-get-all-webviews": {
|
||||
"identifier": "deny-get-all-webviews",
|
||||
"description": "Denies the get_all_webviews command without any pre-configured scope.",
|
||||
"commands": { "allow": [], "deny": ["get_all_webviews"] }
|
||||
},
|
||||
"deny-internal-toggle-devtools": {
|
||||
"identifier": "deny-internal-toggle-devtools",
|
||||
"description": "Denies the internal_toggle_devtools command without any pre-configured scope.",
|
||||
@@ -847,7 +836,6 @@
|
||||
"identifier": "default",
|
||||
"description": "Default permissions for the plugin.",
|
||||
"permissions": [
|
||||
"allow-get-all-windows",
|
||||
"allow-scale-factor",
|
||||
"allow-inner-position",
|
||||
"allow-outer-position",
|
||||
@@ -909,11 +897,6 @@
|
||||
"description": "Enables the destroy command without any pre-configured scope.",
|
||||
"commands": { "allow": ["destroy"], "deny": [] }
|
||||
},
|
||||
"allow-get-all-windows": {
|
||||
"identifier": "allow-get-all-windows",
|
||||
"description": "Enables the get_all_windows command without any pre-configured scope.",
|
||||
"commands": { "allow": ["get_all_windows"], "deny": [] }
|
||||
},
|
||||
"allow-hide": {
|
||||
"identifier": "allow-hide",
|
||||
"description": "Enables the hide command without any pre-configured scope.",
|
||||
@@ -1239,11 +1222,6 @@
|
||||
"description": "Denies the destroy command without any pre-configured scope.",
|
||||
"commands": { "allow": [], "deny": ["destroy"] }
|
||||
},
|
||||
"deny-get-all-windows": {
|
||||
"identifier": "deny-get-all-windows",
|
||||
"description": "Denies the get_all_windows command without any pre-configured scope.",
|
||||
"commands": { "allow": [], "deny": ["get_all_windows"] }
|
||||
},
|
||||
"deny-hide": {
|
||||
"identifier": "deny-hide",
|
||||
"description": "Denies the hide command without any pre-configured scope.",
|
||||
|
||||
@@ -29,7 +29,11 @@
|
||||
"core:window:default",
|
||||
{
|
||||
"identifier": "http:default",
|
||||
"allow": [{ "url": "https://*.miyoushe.com/*" }, { "url": "https://*.mihoyo.com/*" }]
|
||||
"allow": [
|
||||
{ "url": "https://*.miyoushe.com/*" },
|
||||
{ "url": "https://*.mihoyo.com/*" },
|
||||
{ "url": "https://*.hoyoverse.com/*" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"platforms": ["windows", "macOS"]
|
||||
@@ -111,7 +115,9 @@
|
||||
"allow": [
|
||||
{ "url": "https://*.miyoushe.com/*" },
|
||||
{ "url": "https://*.mihoyo.com/*" },
|
||||
{ "url": "https://*.mihoyogift.com/*" }
|
||||
{ "url": "https://*.mihoyogift.com/*" },
|
||||
{ "url": "https://*.bilibili.com/*" },
|
||||
{ "url": "https://*.hoyoverse.com/*" }
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -168,7 +174,8 @@
|
||||
"allow": [
|
||||
{ "url": "https://*.miyoushe.com/*" },
|
||||
{ "url": "https://*.mihoyo.com/*" },
|
||||
{ "url": "https://homa.snapgenshin.com/*" }
|
||||
{ "url": "https://homa.snapgenshin.com/*" },
|
||||
{ "url": "https://*.hoyoverse.com/*" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -2458,11 +2458,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:webview:allow-create-webview-window"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:webview:allow-get-all-webviews"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2523,11 +2518,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:webview:deny-create-webview-window"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:webview:deny-get-all-webviews"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2618,11 +2608,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:window:allow-destroy"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:window:allow-get-all-windows"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2948,11 +2933,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:window:deny-destroy"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:window:deny-get-all-windows"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
|
||||
@@ -2458,11 +2458,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:webview:allow-create-webview-window"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:webview:allow-get-all-webviews"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2523,11 +2518,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:webview:deny-create-webview-window"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:webview:deny-get-all-webviews"]
|
||||
},
|
||||
{
|
||||
"description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2618,11 +2608,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:window:allow-destroy"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:window:allow-get-all-windows"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
@@ -2948,11 +2933,6 @@
|
||||
"type": "string",
|
||||
"enum": ["core:window:deny-destroy"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"enum": ["core:window:deny-get-all-windows"]
|
||||
},
|
||||
{
|
||||
"description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user