2017-11-07 00:36:44 +01:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2018-08-22 22:16:49 +02:00
|
|
|
/* eslint max-lines: off*/
|
2017-11-07 00:36:44 +01:00
|
|
|
(function(){
|
|
|
|
"use strict";
|
|
|
|
var settingsDisplay = [
|
|
|
|
{
|
|
|
|
"name": "displayAdvancedSettings"
|
|
|
|
},
|
2017-11-11 23:34:59 +01:00
|
|
|
{
|
|
|
|
"name": "displayDescriptions"
|
|
|
|
},
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "blockMode"
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"asking",
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
2017-11-09 00:53:52 +01:00
|
|
|
"name": "askOnlyOnce",
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"]
|
2017-11-07 00:36:44 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2017-11-09 00:53:52 +01:00
|
|
|
"name": "askDenyMode",
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2018-01-04 13:36:18 +01:00
|
|
|
{
|
|
|
|
"name": "showCanvasWhileAsking",
|
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-01-04 13:36:18 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"faking",
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "rng",
|
2017-11-09 00:53:52 +01:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2017-11-07 00:36:44 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "storePersistentRnd",
|
2017-11-09 00:53:52 +01:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2017-11-07 00:36:44 +01:00
|
|
|
},
|
2017-11-08 17:46:41 +01:00
|
|
|
{
|
|
|
|
"name": "persistentRndClearInterval",
|
|
|
|
"inputs": ["persistentRndClearIntervalValue", "persistentRndClearIntervalUnit"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2017-11-08 17:46:41 +01:00
|
|
|
},
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "clearPersistentRnd",
|
2017-11-09 00:53:52 +01:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-25 13:42:18 +02:00
|
|
|
"blockMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sharePersistentRndBetweenDomains",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-09 00:53:52 +01:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2017-11-07 00:36:44 +01:00
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"notifications",
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
2018-08-19 23:34:50 +02:00
|
|
|
"name": "showNotifications"
|
2017-11-07 00:36:44 +01:00
|
|
|
},
|
2018-08-20 21:48:05 +02:00
|
|
|
{
|
|
|
|
"name": "highlightPageAction",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-08-21 22:43:41 +02:00
|
|
|
{
|
|
|
|
"name": "displayBadge"
|
|
|
|
},
|
2018-08-20 21:48:05 +02:00
|
|
|
{
|
|
|
|
"name": "highlightBrowserAction"
|
|
|
|
},
|
2018-09-11 23:54:59 +02:00
|
|
|
{
|
|
|
|
"name": "storeNotificationData",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-12-18 23:17:18 +01:00
|
|
|
{
|
|
|
|
"name": "ignoreList",
|
2019-04-25 23:39:52 +02:00
|
|
|
"multiline": true,
|
2017-12-18 23:17:18 +01:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
2018-08-24 16:47:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayBadge": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"highlightBrowserAction": ["color", "blink"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ignoredAPIs",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
2018-08-24 16:36:07 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayBadge": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"highlightBrowserAction": ["color", "blink"],
|
|
|
|
"displayAdvancedSettings": [true]
|
2017-12-18 23:17:18 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "showCallingFile",
|
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showCompleteCallingStack",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"lists",
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "enableStackList",
|
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake", "block", "ask"],
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "stackList",
|
2019-04-25 23:39:52 +02:00
|
|
|
"multiline": true,
|
2017-11-07 00:36:44 +01:00
|
|
|
"displayDependencies": {
|
|
|
|
"enableStackList": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
{
|
|
|
|
"name": "whiteList",
|
2019-04-25 23:39:52 +02:00
|
|
|
"multiline": true,
|
2017-12-24 21:52:44 +01:00
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake", "block", "ask"],
|
2017-12-24 21:52:44 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2018-07-17 13:07:50 +02:00
|
|
|
{
|
|
|
|
"name": "sessionWhiteList",
|
2019-04-25 23:39:52 +02:00
|
|
|
"multiline": true,
|
2018-07-17 13:07:50 +02:00
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake", "block", "ask"],
|
2018-07-17 13:07:50 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
{
|
|
|
|
"name": "blackList",
|
2019-04-25 23:39:52 +02:00
|
|
|
"multiline": true,
|
2017-12-24 21:52:44 +01:00
|
|
|
"displayDependencies": {
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["block", "fake", "ask", "allow"],
|
2017-12-24 21:52:44 +01:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2018-09-12 09:21:52 +02:00
|
|
|
"Canvas-API",
|
2018-10-23 08:26:23 +02:00
|
|
|
{
|
|
|
|
"name": "protectedCanvasPart"
|
|
|
|
},
|
2018-09-12 09:21:52 +02:00
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Canvas-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "minFakeSize",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "maxFakeSize",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ignoreFrequentColors",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-10-23 23:47:21 +02:00
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "minColors",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-10-23 23:47:21 +02:00
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fakeAlphaChannel",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-10-23 23:47:21 +02:00
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "useCanvasCache",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-10-23 23:47:21 +02:00
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-09-12 09:21:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "storeImageForInspection",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"storeNotificationData": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-06-16 00:22:31 +02:00
|
|
|
"Audio-API",
|
|
|
|
{
|
|
|
|
"name": "protectAudio"
|
|
|
|
},
|
2018-09-12 09:21:52 +02:00
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Audio-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-06-16 00:22:31 +02:00
|
|
|
{
|
|
|
|
"name": "audioFakeRate",
|
2018-06-21 00:17:52 +02:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-06-21 00:17:52 +02:00
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-06-21 00:17:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2018-06-16 00:22:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioNoiseLevel",
|
2018-06-21 00:17:52 +02:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-06-21 00:17:52 +02:00
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-06-21 00:17:52 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2018-06-16 00:22:31 +02:00
|
|
|
},
|
2018-06-30 00:34:20 +02:00
|
|
|
{
|
|
|
|
"name": "useAudioCache",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-06-30 00:34:20 +02:00
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-06-30 00:34:20 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-06-21 00:19:49 +02:00
|
|
|
{
|
|
|
|
"name": "audioUseFixedIndices",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-06-21 00:19:49 +02:00
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-06-21 00:19:49 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioFixedIndices",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"audioUseFixedIndices": [true],
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["fake"],
|
2018-06-21 00:19:49 +02:00
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"audioUseFixedIndices": [true],
|
2018-10-23 08:26:23 +02:00
|
|
|
"blockMode": ["ask"],
|
2018-06-21 00:19:49 +02:00
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-08-27 00:30:48 +02:00
|
|
|
"History-API",
|
2018-09-12 09:21:52 +02:00
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "History-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-08-27 00:30:48 +02:00
|
|
|
{
|
|
|
|
"name": "historyLengthThreshold",
|
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2018-08-27 00:33:39 +02:00
|
|
|
"Window-API",
|
|
|
|
{
|
2018-09-12 09:21:52 +02:00
|
|
|
"name": "protectWindow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Window-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectWindow": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2018-08-27 00:33:39 +02:00
|
|
|
},
|
2018-09-04 23:29:58 +02:00
|
|
|
"DOMRect-API",
|
|
|
|
{
|
2018-09-12 09:21:52 +02:00
|
|
|
"name": "protectDOMRect"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "DOMRect-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectDOMRect": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
2018-09-04 23:29:58 +02:00
|
|
|
},
|
2018-09-05 15:53:01 +02:00
|
|
|
{
|
|
|
|
"name": "domRectIntegerFactor",
|
|
|
|
"displayDependencies": {
|
|
|
|
"protectDOMRect": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2019-02-27 23:49:00 +01:00
|
|
|
"Navigator-API",
|
|
|
|
{
|
|
|
|
"name": "protectNavigator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Navigator-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectNavigator": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "openNavigatorSettings",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectNavigator": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"misc",
|
2018-08-21 22:03:16 +02:00
|
|
|
{
|
|
|
|
"name": "theme"
|
|
|
|
},
|
2018-07-16 00:14:44 +02:00
|
|
|
{
|
2018-07-21 00:32:15 +02:00
|
|
|
"name": "blockDataURLs",
|
2018-07-16 00:14:44 +02:00
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
2017-11-07 00:36:44 +01:00
|
|
|
{
|
|
|
|
"name": "showReleaseNotes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "logLevel",
|
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
2017-11-14 01:07:27 +01:00
|
|
|
},
|
2017-12-24 21:52:44 +01:00
|
|
|
"settings",
|
2018-10-09 08:14:50 +02:00
|
|
|
{
|
|
|
|
"name": "openSettingSanitation"
|
|
|
|
},
|
2017-11-14 01:07:27 +01:00
|
|
|
{
|
|
|
|
"name": "exportSettings",
|
2019-05-04 01:12:45 +02:00
|
|
|
"actions": ["inspectSettings", "inspectWhitelist", "saveSettings", "loadSettings"]
|
2017-11-22 14:14:33 +01:00
|
|
|
},
|
|
|
|
{
|
2019-01-29 20:03:27 +01:00
|
|
|
"name": "resetSettings"
|
2017-11-07 00:36:44 +01:00
|
|
|
}
|
|
|
|
];
|
2018-07-02 00:29:41 +02:00
|
|
|
settingsDisplay.displayHidden = "displayHiddenSettings";
|
2017-11-07 00:36:44 +01:00
|
|
|
|
|
|
|
if ((typeof module) !== "undefined"){
|
|
|
|
module.exports = settingsDisplay;
|
|
|
|
}
|
|
|
|
else {
|
2019-03-12 22:24:23 +01:00
|
|
|
require.register("./settingsDisplay", settingsDisplay);
|
2017-11-07 00:36:44 +01:00
|
|
|
}
|
|
|
|
}());
|