mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-18 09:28:52 +01:00
Added displayAdvancedSettings setting.
This commit is contained in:
parent
48dc965f7c
commit
b12dc3ad68
@ -8,6 +8,15 @@
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"displayAdvancedSettings_title": {
|
||||
"message": "Expertenmodus",
|
||||
"description": ""
|
||||
},
|
||||
"displayAdvancedSettings_description": {
|
||||
"message": "Zeigt weitere Einstellungsmöglichkeiten an.",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"allowPDFCanvas_description": {
|
||||
"message": "Die native pdf.js verwendet <canvas> um den Inhalt von PDFs anzuzeigen. Wenn viele Nachfragedialoge erscheinen oder die PDF-Ansicht nicht funktioniert, müssen diese erlaubt werden.",
|
||||
"description": ""
|
||||
|
@ -8,6 +8,15 @@
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"displayAdvancedSettings_title": {
|
||||
"message": "Expert mode",
|
||||
"description": ""
|
||||
},
|
||||
"displayAdvancedSettings_description": {
|
||||
"message": "Displays additional settings.",
|
||||
"description": ""
|
||||
},
|
||||
|
||||
"allowPDFCanvas_description": {
|
||||
"message": "Firefox's native PDF reader uses the API to display PDF content. If too many ask dialogs appear or the PDF reader does not work at all, these have to be allowed.",
|
||||
"description": ""
|
||||
|
@ -21,5 +21,6 @@ var settings = {
|
||||
showCompleteCallingStack: false,
|
||||
enableStackList: false,
|
||||
stackList: "",
|
||||
displayAdvancedSettings: false,
|
||||
isStillDefault: true
|
||||
};
|
@ -3,6 +3,12 @@ table.className = "settings";
|
||||
document.body.appendChild(table);
|
||||
|
||||
[
|
||||
{
|
||||
"name": "displayAdvancedSettings",
|
||||
"title": "Display advanced settings",
|
||||
"type": "bool",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"name": "blockMode",
|
||||
"title": "block mode",
|
||||
@ -75,7 +81,8 @@ document.body.appendChild(table);
|
||||
"type": "integer",
|
||||
"value": 1,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"]
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -84,7 +91,8 @@ document.body.appendChild(table);
|
||||
"type": "integer",
|
||||
"value": 0,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"]
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -107,7 +115,8 @@ document.body.appendChild(table);
|
||||
}
|
||||
],
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"]
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -117,7 +126,8 @@ document.body.appendChild(table);
|
||||
"value": false,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"rng": ["persistent"]
|
||||
"rng": ["persistent"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -127,7 +137,8 @@ document.body.appendChild(table);
|
||||
"label": "Clear",
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"rng": ["persistent"]
|
||||
"rng": ["persistent"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -136,7 +147,8 @@ document.body.appendChild(table);
|
||||
"type": "integer",
|
||||
"value": 0,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout"]
|
||||
"blockMode": ["fakeReadout"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -145,7 +157,8 @@ document.body.appendChild(table);
|
||||
"type": "bool",
|
||||
"value": true,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout"]
|
||||
"blockMode": ["fakeReadout"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -173,7 +186,8 @@ document.body.appendChild(table);
|
||||
"value": false,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"showNotifications": [true]
|
||||
"showNotifications": [true],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
// {
|
||||
@ -201,7 +215,8 @@ document.body.appendChild(table);
|
||||
"type": "bool",
|
||||
"value": false,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["askReadout", "ask"]
|
||||
"blockMode": ["askReadout", "ask"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -212,10 +227,12 @@ document.body.appendChild(table);
|
||||
"displayDependencies": [
|
||||
{
|
||||
"blockMode": ["fakeReadout", "fakeInput"],
|
||||
"showNotifications": [true]
|
||||
"showNotifications": [true],
|
||||
"displayAdvancedSettings": [true]
|
||||
},
|
||||
{
|
||||
"blockMode": ["askReadout", "ask"]
|
||||
"blockMode": ["askReadout", "ask"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
]
|
||||
},{
|
||||
@ -224,7 +241,8 @@ document.body.appendChild(table);
|
||||
"type": "bool",
|
||||
"value": false,
|
||||
"displayDependencies": {
|
||||
"blockMode": ["blockReadout", "fakeReadout", "fakeInput", "askReadout", "block", "ask"]
|
||||
"blockMode": ["blockReadout", "fakeReadout", "fakeInput", "askReadout", "block", "ask"],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -233,7 +251,8 @@ document.body.appendChild(table);
|
||||
"type": "string",
|
||||
"value": "",
|
||||
"displayDependencies": {
|
||||
"enableStackList": [true]
|
||||
"enableStackList": [true],
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
|
||||
},
|
||||
@ -273,7 +292,10 @@ document.body.appendChild(table);
|
||||
"value": 100,
|
||||
"label": "verbose"
|
||||
}
|
||||
]
|
||||
],
|
||||
"displayDependencies": {
|
||||
"displayAdvancedSettings": [true]
|
||||
}
|
||||
}
|
||||
].forEach(function(pref){
|
||||
var html = '<td><div class="content"><span class="title">__MSG_' + pref.name + '_title__</span><div class="description">__MSG_' + pref.name + '_description__</div></div></td><td><div class="content">';
|
||||
|
@ -17,6 +17,7 @@ Version 0.4.0:
|
||||
* new random number generator "constant"
|
||||
* setting to not fake the most frequent colors in a canvas
|
||||
* setting to enable canvas cache
|
||||
* setting to hide expert settings
|
||||
|
||||
fixes:
|
||||
- ask mode did not work for input types
|
||||
|
Loading…
x
Reference in New Issue
Block a user