mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
Add Tampermonkey WebExtension manifest and managed storage compatibility
This commit is contained in:
parent
5ac0d5acc3
commit
cc3106406f
5 changed files with 80 additions and 3 deletions
|
|
@ -183,6 +183,29 @@
|
|||
"optional": true
|
||||
},
|
||||
|
||||
"optional_permissions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"choices": [
|
||||
{ "$ref": "Permission" },
|
||||
{
|
||||
"type": "string",
|
||||
"deprecated": "Unknown optional permission ${value}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"optional": true
|
||||
},
|
||||
|
||||
"user_scripts": {
|
||||
"type": "object",
|
||||
"optional": true,
|
||||
"properties": {
|
||||
"api_script": { "$ref": "ExtensionURL" }
|
||||
},
|
||||
"additionalProperties": { "$ref": "UnrecognizedProperty" }
|
||||
},
|
||||
|
||||
"web_accessible_resources": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
|
|
@ -218,6 +241,7 @@
|
|||
"enum": [
|
||||
"alarms",
|
||||
"clipboardWrite",
|
||||
"contextualIdentities",
|
||||
"dns",
|
||||
"idle",
|
||||
"menus",
|
||||
|
|
@ -387,8 +411,7 @@
|
|||
},
|
||||
{
|
||||
"id": "PersistentBackgroundProperty",
|
||||
"type": "boolean",
|
||||
"deprecated": "Event pages are not currently supported. This will run as a persistent background page."
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,6 @@
|
|||
}
|
||||
},
|
||||
"managed": {
|
||||
"unsupported": true,
|
||||
"$ref": "StorageArea",
|
||||
"description": "Items in the <code>managed</code> storage area are set by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error."
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue