-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 3.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "asyouwish",
"license": "MPL 2.0/MIT/New BSD",
"author": "Brett Zamir",
"version": "5.1.0",
"title": "As You Wish",
"id": "jid1-9Ddk7IgYYaBCAw@jetpack",
"main": "lib/main",
"description": "Inject AsYouWish global with requestPrivs() method as a wrapper for require() of SDK modules (and in the future, possibly custom modules) to provide a uniform means to website authors of requesting escalated privileges from users.",
"permissions": {"private-browsing": true},
"preferences": [
{
"name": "allowedProtocols",
"type": "string",
"description": "Array (as string) of schemes which are permitted to request privileges.",
"value": "[\"https\", \"file\"]",
"title": "Allowed protocols",
"hidden": true
},
{
"name": "allowedWebsites",
"type": "string",
"description": "Array (as string) of websites which are explicitly permitted to request privileges.",
"value": "[]",
"title": "Allowed websites",
"hidden": true
},
{
"name": "allowedWebsitesApproved",
"type": "string",
"description": "Array (as string) of websites which are explicitly permitted to request privileges and have done so, and user granted them.",
"value": "[]",
"title": "Allowed and approved websites",
"hidden": true
},
{
"name": "allowAllProtocols",
"type": "bool",
"description": "Boolean of whether to allow privilege requests to be made from any protocol (and thus any website)",
"value": false,
"title": "Allow all protocols"
},
{
"name": "allowAllWebsites",
"type": "bool",
"description": "Boolean of whether to allow privilege requests to be made from all websites with approved protocols",
"value": false,
"title": "Allow all websites whose protocols are approved"
},
{
"name": "addonWebsites",
"type": "string",
"description": "Object (as string) whose keys are the websites which are permitted to launch in a hidden window on browser restart with privileges and whose values are meta-data about the 'addon'.",
"value": "{}",
"title": "'Addon' websites",
"hidden": true
},
{
"name": "enforcePrivilegeWhitelist",
"type": "bool",
"description": "Whether or not to enforce a privilege whitelist (will disallow new sites from even requesting privileges if the requested privilege type is not whitelisted).",
"value": false,
"title": "Enforce privilege whitelist"
},
{
"name": "whitelistedPrivileges",
"type": "string",
"description": "Array (as string) which will delimit those privileges can be requested (so long as the whitelist is being enforced).",
"value": "[]",
"title": "Whitelisted privileges",
"hidden": true
}
]
}