changes.mady.by.user Robert Reiner
Saved on 14. Aug 2020
Saved on 10. Sep 2020
...
The JSON file has the following format.
{ "namespace": "...", "name": "...", "version": "...", "script": "...", "description": "...", "documentation": "...", "authorsupport": "...", "activation": { "preserve": false, "space": ["...", ...], "category": ["...", ...], "label": ["...", ...], "group": ["...", ...], "user": ["...", ...] } }
The following JSON attributes identify the userscript.
namespace
name
version
The following JSON attribute references the userscript JavaScript code.
script
The following JSON attributes provide additional information on the userscript.
description
documentation
author
support
The activation record is defined with the JSON attribute activation, which is a map of attributes.
activation
The activation record provides the following JSON attributes to control in which context the referenced userscript is executed.
space
category
label
group
user
There is also a control flag for conveniently alter a script without altering the activation record.
preserve
Allows to control the service to not override an existing activation record. If no activation record exists, none will be created.