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 = [
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "general",
|
|
|
|
sections: [
|
|
|
|
{
|
|
|
|
name: "",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "displayAdvancedSettings"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blockMode"
|
|
|
|
},
|
|
|
|
]
|
2017-11-09 00:53:52 +01:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "asking",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "askOnlyOnce",
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["ask"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "askDenyMode",
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showCanvasWhileAsking",
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2017-11-09 00:53:52 +01:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "faking",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "rng",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "storePersistentRnd",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "persistentRndClearInterval",
|
|
|
|
"inputs": ["persistentRndClearIntervalValue", "persistentRndClearIntervalUnit"],
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clearPersistentRnd",
|
2019-07-16 13:40:08 +02:00
|
|
|
"actions": [
|
|
|
|
"clearPersistentRnd",
|
|
|
|
browser.contextualIdentities? "clearPersistentRndForContainer": false
|
|
|
|
],
|
2019-06-29 16:55:26 +02:00
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sharePersistentRndBetweenDomains",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"rng": ["persistent"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2017-11-09 00:53:52 +01:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "notifications",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "showNotifications"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "highlightPageAction",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "displayBadge"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "highlightBrowserAction"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "storeNotificationData",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ignoreList",
|
|
|
|
"multiline": true,
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayBadge": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"highlightBrowserAction": ["color", "blink"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ignoredAPIs",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayBadge": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"highlightBrowserAction": ["color", "blink"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showCallingFile",
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showCompleteCallingStack",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2018-10-25 13:42:18 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "lists",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "enableStackList",
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["fake", "block", "ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "stackList",
|
|
|
|
"multiline": true,
|
|
|
|
"displayDependencies": {
|
|
|
|
"enableStackList": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "whiteList",
|
|
|
|
"multiline": true,
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["fake", "block", "ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sessionWhiteList",
|
|
|
|
"multiline": true,
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["fake", "block", "ask"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blackList",
|
|
|
|
"multiline": true,
|
|
|
|
"displayDependencies": {
|
|
|
|
"blockMode": ["block", "fake", "ask", "allow"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2017-11-09 00:53:52 +01:00
|
|
|
},
|
2019-07-03 13:44:38 +02:00
|
|
|
{
|
|
|
|
name: "settings",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "displayDescriptions"
|
|
|
|
},
|
|
|
|
{
|
2019-07-17 13:09:16 +02:00
|
|
|
"name": "settingControlling",
|
|
|
|
"actions": [
|
|
|
|
"openSettingSanitation",
|
|
|
|
"inspectWhitelist"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "openSettingPresets"
|
2019-07-03 13:44:38 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "exportSettings",
|
2019-07-16 18:25:30 +02:00
|
|
|
"actions": [
|
2019-07-17 13:09:16 +02:00
|
|
|
"inspectSettings", "saveSettings", "loadSettings"
|
2019-07-16 18:25:30 +02:00
|
|
|
]
|
2019-07-03 13:44:38 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "resetSettings"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-08-20 21:48:05 +02:00
|
|
|
]
|
|
|
|
},
|
2018-08-21 22:43:41 +02:00
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "APIs",
|
|
|
|
sections: [
|
|
|
|
{
|
|
|
|
name: "Canvas-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectedCanvasPart"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Canvas-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "minFakeSize",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "maxFakeSize",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ignoreFrequentColors",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "minColors",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "fakeAlphaChannel",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "useCanvasCache",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectedCanvasPart": ["readout", "everything"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "storeImageForInspection",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"showNotifications": [true],
|
|
|
|
"storeNotificationData": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-09-19 00:47:52 +02:00
|
|
|
{
|
|
|
|
"name": "webGLVendor",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "webGLRenderer",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "webGLUnmaskedVendor",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "webGLUnmaskedRenderer",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-06-29 16:55:26 +02:00
|
|
|
]
|
2018-08-24 16:47:27 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "Audio-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectAudio"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Audio-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioFakeRate",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioNoiseLevel",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "useAudioCache",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioUseFixedIndices",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "audioFixedIndices",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"audioUseFixedIndices": [true],
|
|
|
|
"blockMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"audioUseFixedIndices": [true],
|
|
|
|
"blockMode": ["ask"],
|
|
|
|
"askDenyMode": ["fake"],
|
|
|
|
"protectAudio": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2018-08-24 16:36:07 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "History-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "History-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "historyLengthThreshold",
|
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2018-08-24 16:36:07 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "Window-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectWindow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Window-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectWindow": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2018-09-12 09:21:52 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "DOMRect-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectDOMRect"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "DOMRect-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectDOMRect": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "domRectIntegerFactor",
|
|
|
|
"displayDependencies": {
|
|
|
|
"protectDOMRect": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2018-09-12 09:21:52 +02:00
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "Navigator-API",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "protectNavigator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "protectedAPIFeatures",
|
|
|
|
"displayedSection": "Navigator-API",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectNavigator": [true],
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "openNavigatorSettings",
|
|
|
|
"displayDependencies": [
|
|
|
|
{
|
|
|
|
"protectNavigator": [true]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
2018-09-12 09:21:52 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-06-29 16:55:26 +02:00
|
|
|
name: "misc",
|
|
|
|
sections: [
|
|
|
|
{
|
|
|
|
name: "misc",
|
|
|
|
settings: [
|
|
|
|
{
|
|
|
|
"name": "theme"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "blockDataURLs",
|
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showReleaseNotes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "logLevel",
|
|
|
|
"displayDependencies": {
|
|
|
|
"displayAdvancedSettings": [true]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
2018-09-12 09:21:52 +02:00
|
|
|
},
|
|
|
|
]
|
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
|
|
|
}
|
|
|
|
}());
|