fix: disable some default webview behaviors

This commit is contained in:
reya
2024-08-19 13:46:22 +07:00
parent bcc5e18082
commit 26ae473521
10 changed files with 132 additions and 13 deletions

View File

@@ -7054,6 +7054,41 @@
"os:deny-version"
]
},
{
"description": "prevent-default:default -> Default permissions for the prevent-default plugin",
"type": "string",
"enum": [
"prevent-default:default"
]
},
{
"description": "prevent-default:allow-keyboard -> Enables the keyboard command without any pre-configured scope.",
"type": "string",
"enum": [
"prevent-default:allow-keyboard"
]
},
{
"description": "prevent-default:allow-pointer -> Enables the pointer command without any pre-configured scope.",
"type": "string",
"enum": [
"prevent-default:allow-pointer"
]
},
{
"description": "prevent-default:deny-keyboard -> Denies the keyboard command without any pre-configured scope.",
"type": "string",
"enum": [
"prevent-default:deny-keyboard"
]
},
{
"description": "prevent-default:deny-pointer -> Denies the pointer command without any pre-configured scope.",
"type": "string",
"enum": [
"prevent-default:deny-pointer"
]
},
{
"description": "process:default -> This permission set configures which\nprocess feeatures are by default exposed.\n\n#### Granted Permissions\n\nThis enables to quit via `allow-exit` and restart via `allow-restart`\nthe application.\n",
"type": "string",