mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-05 11:32:20 +01:00
Added displayAdvancedSettings setting.
This commit is contained in:
parent
48dc965f7c
commit
b12dc3ad68
@ -8,6 +8,15 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"displayAdvancedSettings_title": {
|
||||||
|
"message": "Expertenmodus",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"displayAdvancedSettings_description": {
|
||||||
|
"message": "Zeigt weitere Einstellungsmöglichkeiten an.",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
|
||||||
"allowPDFCanvas_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.",
|
"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": ""
|
"description": ""
|
||||||
|
@ -8,6 +8,15 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"displayAdvancedSettings_title": {
|
||||||
|
"message": "Expert mode",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"displayAdvancedSettings_description": {
|
||||||
|
"message": "Displays additional settings.",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
|
||||||
"allowPDFCanvas_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.",
|
"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": ""
|
"description": ""
|
||||||
|
@ -21,5 +21,6 @@ var settings = {
|
|||||||
showCompleteCallingStack: false,
|
showCompleteCallingStack: false,
|
||||||
enableStackList: false,
|
enableStackList: false,
|
||||||
stackList: "",
|
stackList: "",
|
||||||
|
displayAdvancedSettings: false,
|
||||||
isStillDefault: true
|
isStillDefault: true
|
||||||
};
|
};
|
@ -3,6 +3,12 @@ table.className = "settings";
|
|||||||
document.body.appendChild(table);
|
document.body.appendChild(table);
|
||||||
|
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"name": "displayAdvancedSettings",
|
||||||
|
"title": "Display advanced settings",
|
||||||
|
"type": "bool",
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "blockMode",
|
"name": "blockMode",
|
||||||
"title": "block mode",
|
"title": "block mode",
|
||||||
@ -75,7 +81,8 @@ document.body.appendChild(table);
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"]
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -84,7 +91,8 @@ document.body.appendChild(table);
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"]
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -107,7 +115,8 @@ document.body.appendChild(table);
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"]
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -117,7 +126,8 @@ document.body.appendChild(table);
|
|||||||
"value": false,
|
"value": false,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"],
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
"rng": ["persistent"]
|
"rng": ["persistent"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -127,7 +137,8 @@ document.body.appendChild(table);
|
|||||||
"label": "Clear",
|
"label": "Clear",
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"],
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
"rng": ["persistent"]
|
"rng": ["persistent"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -136,7 +147,8 @@ document.body.appendChild(table);
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"value": 0,
|
"value": 0,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout"]
|
"blockMode": ["fakeReadout"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -145,7 +157,8 @@ document.body.appendChild(table);
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"value": true,
|
"value": true,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout"]
|
"blockMode": ["fakeReadout"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -173,7 +186,8 @@ document.body.appendChild(table);
|
|||||||
"value": false,
|
"value": false,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["fakeReadout", "fakeInput"],
|
"blockMode": ["fakeReadout", "fakeInput"],
|
||||||
"showNotifications": [true]
|
"showNotifications": [true],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@ -201,7 +215,8 @@ document.body.appendChild(table);
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"value": false,
|
"value": false,
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"blockMode": ["askReadout", "ask"]
|
"blockMode": ["askReadout", "ask"],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -212,10 +227,12 @@ document.body.appendChild(table);
|
|||||||
"displayDependencies": [
|
"displayDependencies": [
|
||||||
{
|
{
|
||||||
"blockMode": ["fakeReadout", "fakeInput"],
|
"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",
|
"type": "bool",
|
||||||
"value": false,
|
"value": false,
|
||||||
"displayDependencies": {
|
"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",
|
"type": "string",
|
||||||
"value": "",
|
"value": "",
|
||||||
"displayDependencies": {
|
"displayDependencies": {
|
||||||
"enableStackList": [true]
|
"enableStackList": [true],
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -273,7 +292,10 @@ document.body.appendChild(table);
|
|||||||
"value": 100,
|
"value": 100,
|
||||||
"label": "verbose"
|
"label": "verbose"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"displayDependencies": {
|
||||||
|
"displayAdvancedSettings": [true]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
].forEach(function(pref){
|
].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">';
|
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"
|
* new random number generator "constant"
|
||||||
* setting to not fake the most frequent colors in a canvas
|
* setting to not fake the most frequent colors in a canvas
|
||||||
* setting to enable canvas cache
|
* setting to enable canvas cache
|
||||||
|
* setting to hide expert settings
|
||||||
|
|
||||||
fixes:
|
fixes:
|
||||||
- ask mode did not work for input types
|
- ask mode did not work for input types
|
||||||
|
Loading…
x
Reference in New Issue
Block a user